summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
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)