From dba35b4803a785b2d43da4b282b2e272aedcf0e6 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 28 Jul 2003 11:34:51 +0000 Subject: 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 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 AC_PROG_MAKE_SET AC_PROG_AWK -saved_srcdir=$srcdir -srcdir=$srcdir/lib -test -f $srcdir/getloadavg.c \ - || AC_MSG_ERROR([getloadavg.c is not in $srcdir]) -AC_FUNC_GETLOADAVG -srcdir=$saved_srcdir +AC_FUNC_GETLOADAVG($srcdir/lib) ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD]) dnl AM_WITH_REGEX -- cgit v0.10-9-g596f