diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-07-28 11:34:51 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-07-28 11:34:51 (GMT) |
commit | dba35b4803a785b2d43da4b282b2e272aedcf0e6 (patch) | |
tree | 877766c5ebcdeecb9c163f4de1bbefc7c5fcbeb9 | |
parent | 5edd184bc455782e5857a56068c3944a9d21285e (diff) | |
download | monitoring-plugins-dba35b4803a785b2d43da4b282b2e272aedcf0e6.tar.gz |
Fixes Redhat 6.2 compiles for getloadavg.o
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@610 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | configure.in | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.in b/configure.in index dba1d30..b93e63a 100644 --- a/configure.in +++ b/configure.in | |||
@@ -23,12 +23,7 @@ AC_PROG_CC | |||
23 | AC_PROG_MAKE_SET | 23 | AC_PROG_MAKE_SET |
24 | AC_PROG_AWK | 24 | AC_PROG_AWK |
25 | 25 | ||
26 | saved_srcdir=$srcdir | 26 | AC_FUNC_GETLOADAVG($srcdir/lib) |
27 | srcdir=$srcdir/lib | ||
28 | test -f $srcdir/getloadavg.c \ | ||
29 | || AC_MSG_ERROR([getloadavg.c is not in $srcdir]) | ||
30 | AC_FUNC_GETLOADAVG | ||
31 | srcdir=$saved_srcdir | ||
32 | 27 | ||
33 | ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD]) | 28 | ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD]) |
34 | dnl AM_WITH_REGEX | 29 | dnl AM_WITH_REGEX |