]> granicus.if.org Git - fcron/commitdiff
*** empty log message ***
authorthib <thib>
Tue, 12 Sep 2000 20:20:36 +0000 (20:20 +0000)
committerthib <thib>
Tue, 12 Sep 2000 20:20:36 +0000 (20:20 +0000)
configure.in

index eaa9a5a24c38fb00ebdbfc3ab8d7e44927a5eba8..4c6ac2b78ce218c7aa72f7e1e56cf03d38ff6c70 100644 (file)
@@ -39,6 +39,7 @@ AC_FUNC_MEMCMP
 AC_TYPE_SIGNAL
 AC_FUNC_STRFTIME
 AC_FUNC_WAIT3
+AC_CHECK_FUNC(getloadavg, [getloadavg = 1], [getloadavg = 0])
 AC_FUNC_GETLOADAVG
 AC_CHECK_FUNCS(getcwd gettimeofday mktime putenv strerror)
 
@@ -250,7 +251,7 @@ AC_ARG_WITH(spooldir,
 FCRONTABS="$sp"
 AC_SUBST(FCRONTABS)
 
-if test $HAVE_GETLOADAVG -eq 1  ; then
+if test $getloadavg -eq 0  ; then
 AC_MSG_CHECKING(proc directory)
 AC_ARG_WITH(proc,
 [  --with-proc=PATH    Directory where procfs is mounted (default /proc).],
@@ -309,3 +310,4 @@ AC_ARG_WITH(debug,
 
 AC_OUTPUT(Makefile)
 
+