diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 38c2470..7b3dd08 100644 --- a/configure.in +++ b/configure.in | |||
@@ -23,7 +23,13 @@ AC_PROG_CC | |||
23 | AC_PROG_MAKE_SET | 23 | AC_PROG_MAKE_SET |
24 | AC_PROG_AWK | 24 | AC_PROG_AWK |
25 | 25 | ||
26 | AC_FUNC_GETLOADAVG([lib]) | 26 | saved_srcdir=$srcdir |
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 | ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD]) | 33 | ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD]) |
28 | dnl AM_WITH_REGEX | 34 | dnl AM_WITH_REGEX |
29 | AC_PROG_RANLIB | 35 | AC_PROG_RANLIB |