diff options
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 368bbf7..a3dbd72 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) |