summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorM. Sean Finney <seanius@users.sourceforge.net>2005-10-31 20:03:19 +0000
committerM. Sean Finney <seanius@users.sourceforge.net>2005-10-31 20:03:19 +0000
commit3038819fef47495af2730b0d2df2a5a8475fc7bb (patch)
tree978a1706ef546a153bfc41af7f33959b4543678c /configure.in
parent0ff7d99a5e75683e778943884e60a11251183f45 (diff)
downloadmonitoring-plugins-3038819fef47495af2730b0d2df2a5a8475fc7bb.tar.gz
code cleanups, largely resulting from turning on -Wall. mostly
unused variables and explicit casting issues, but there were a couple gotchas in there too. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1267 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 368bbf75..a3dbd725 100644
--- a/configure.in
+++ b/configure.in
@@ -162,6 +162,7 @@ AC_SUBST(SOCKETLIBS)
162 162
163dnl 163dnl
164dnl check for math-related functions needing -lm 164dnl check for math-related functions needing -lm
165AC_CHECK_HEADERS(math.h)
165AC_CHECK_LIB(m,floor,MATHLIBS="-lm") 166AC_CHECK_LIB(m,floor,MATHLIBS="-lm")
166AC_SUBST(MATHLIBS) 167AC_SUBST(MATHLIBS)
167 168
@@ -909,6 +910,10 @@ if test -n "$ac_cv_ps_varlist" ; then
909 AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols, 910 AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols,
910 [Number of columns in ps command]) 911 [Number of columns in ps command])
911 EXTRAS="$EXTRAS check_procs check_nagios" 912 EXTRAS="$EXTRAS check_procs check_nagios"
913 if echo "$ac_cv_ps_varlist" | grep -q "procetime"; then
914 AC_DEFINE(PS_USES_PROCETIME,"yes",
915 [Whether the ps utility uses the "procetime" field])
916 fi
912fi 917fi
913 918
914AC_PATH_PROG(PATH_TO_PING,ping) 919AC_PATH_PROG(PATH_TO_PING,ping)