diff options
author | Jim Meyering <jim@meyering.net> | 2002-04-24 07:49:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-04-24 07:49:00 +0000 |
commit | 1391eaea5d7c83bd8904c2c5599aa56459b64829 (patch) | |
tree | 2b7bf6655ed77a9660061d204bdff79e65846555 /m4 | |
parent | d3de1d0186a6828dd7bb50cd9c01850d224cc072 (diff) | |
download | coreutils-1391eaea5d7c83bd8904c2c5599aa56459b64829.tar.xz |
Check for these headers: locale.h unistd.h mach/mach.h fcntl.h.
Check for this function: setlocale.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/getloadavg.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 index 9116738e9..73c60c536 100644 --- a/m4/getloadavg.m4 +++ b/m4/getloadavg.m4 @@ -12,6 +12,9 @@ undefine([AC_FUNC_GETLOADAVG]) AC_DEFUN([AC_FUNC_GETLOADAVG], [ac_have_func=no # yes means we've found a way to get the load average. +AC_CHECK_HEADERS(locale.h unistd.h mach/mach.h fcntl.h) +AC_CHECK_FUNCS(setlocale) + # By default, expect to find getloadavg.c in $srcdir/. ac_lib_dir_getloadavg=$srcdir # But if there's an argument, DIR, expect to find getloadavg.c in $srcdir/DIR. |