[Nagiosplug-checkins] nagiosplug configure.in,1.162,1.163
    M. Sean Finney 
    seanius at users.sourceforge.net
       
    Mon Oct 31 12:04:11 CET 2005
    
        - Previous message: [Nagiosplug-checkins] nagiosplug/plugins Makefile.am,1.59,1.60
- Next message: [Nagiosplug-checkins] nagiosplug/plugins check_game.c,1.24,1.25 check_http.c,1.84,1.85 check_nagios.c,1.27,1.28 check_snmp.c,1.57,1.58 check_swap.c,1.52,1.53 check_tcp.c,1.72,1.73 common.h,1.16,1.17 netutils.c,1.29,1.30 netutils.h,1.15,1.16 sslutils.c,1.1,1.2
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12760
Modified Files:
	configure.in 
Log Message:
code cleanups, largely resulting from turning on -Wall.  mostly
unused variables and explicit casting issues, but there were a
couple gotchas in there too.
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -d -r1.162 -r1.163
--- configure.in	25 Oct 2005 10:38:00 -0000	1.162
+++ configure.in	31 Oct 2005 20:03:18 -0000	1.163
@@ -162,6 +162,7 @@
 
 dnl
 dnl check for math-related functions needing -lm
+AC_CHECK_HEADERS(math.h)
 AC_CHECK_LIB(m,floor,MATHLIBS="-lm")
 AC_SUBST(MATHLIBS)
 
@@ -909,6 +910,10 @@
 	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
+		AC_DEFINE(PS_USES_PROCETIME,"yes",
+		          [Whether the ps utility uses the "procetime" field])
+	fi
 fi
 
 AC_PATH_PROG(PATH_TO_PING,ping)
    
    
        
	- Previous message: [Nagiosplug-checkins] nagiosplug/plugins Makefile.am,1.59,1.60
- Next message: [Nagiosplug-checkins] nagiosplug/plugins check_game.c,1.24,1.25 check_http.c,1.84,1.85 check_nagios.c,1.27,1.28 check_snmp.c,1.57,1.58 check_swap.c,1.52,1.53 check_tcp.c,1.72,1.73 common.h,1.16,1.17 netutils.c,1.29,1.30 netutils.h,1.15,1.16 sslutils.c,1.1,1.2
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the Commits
mailing list