diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-31 20:03:19 +0000 |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-10-31 20:03:19 +0000 |
commit | 3038819fef47495af2730b0d2df2a5a8475fc7bb (patch) | |
tree | 978a1706ef546a153bfc41af7f33959b4543678c /configure.in | |
parent | 0ff7d99a5e75683e778943884e60a11251183f45 (diff) | |
download | monitoring-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.in | 5 |
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 | ||
163 | dnl | 163 | dnl |
164 | dnl check for math-related functions needing -lm | 164 | dnl check for math-related functions needing -lm |
165 | AC_CHECK_HEADERS(math.h) | ||
165 | AC_CHECK_LIB(m,floor,MATHLIBS="-lm") | 166 | AC_CHECK_LIB(m,floor,MATHLIBS="-lm") |
166 | AC_SUBST(MATHLIBS) | 167 | AC_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 | ||
912 | fi | 917 | fi |
913 | 918 | ||
914 | AC_PATH_PROG(PATH_TO_PING,ping) | 919 | AC_PATH_PROG(PATH_TO_PING,ping) |