[Nagiosplug-checkins] nagiosplug configure.in,1.204,1.205

Holger Weiss hweiss at users.sourceforge.net
Tue Jan 30 03:22:30 CET 2007


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6013

Modified Files:
	configure.in 
Log Message:
grep(1) "-q" isn't portable (e.g., it won't work on Solaris 8), redirect
output to /dev/null instead.


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.204
retrieving revision 1.205
diff -u -d -r1.204 -r1.205
--- configure.in	29 Jan 2007 12:13:08 -0000	1.204
+++ configure.in	30 Jan 2007 02:22:28 -0000	1.205
@@ -762,7 +762,7 @@
 	AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols,
 		[Number of columns in ps command])
 	EXTRAS="$EXTRAS check_procs check_nagios"
-	if echo "$ac_cv_ps_varlist" | grep -q "procetime"; then
+	if echo "$ac_cv_ps_varlist" | grep "procetime" >/dev/null; then
 		AC_DEFINE(PS_USES_PROCETIME,"yes",
 		          [Whether the ps utility uses the "procetime" field])
 	fi





More information about the Commits mailing list