From 3038819fef47495af2730b0d2df2a5a8475fc7bb Mon Sep 17 00:00:00 2001 From: "M. Sean Finney" Date: Mon, 31 Oct 2005 20:03:19 +0000 Subject: 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 --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.in') 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) 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 @@ if test -n "$ac_cv_ps_varlist" ; then 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) -- cgit v1.2.3-74-g34f1