diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-31 16:22:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-31 16:22:58 +0000 |
commit | 69649d98b1fd1921be63349292152c73be9541b8 (patch) | |
tree | 79973dfc9c32e5f755e73371019a5ddacb0c3526 /m4 | |
parent | 99ce6d77e0e935f844cc74012fe07bc705132869 (diff) | |
download | coreutils-69649d98b1fd1921be63349292152c73be9541b8.tar.xz |
Check for locale.h and the function, setlocale.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/getloadavg.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 index 86d5ca288..412d0fe84 100644 --- a/m4/getloadavg.m4 +++ b/m4/getloadavg.m4 @@ -1,4 +1,4 @@ -#serial 3 +#serial 4 AC_DEFUN(AM_FUNC_GETLOADAVG, [ac_have_func=no # yes means we've found a way to get the load average. @@ -47,6 +47,9 @@ else [ac_have_func=yes; AC_DEFINE(DGUX) AC_CHECK_LIB(dgc, dg_sys_info)]) + AC_CHECK_HEADER(locale.h) + AC_CHECK_FUNCS(setlocale) + # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it # uses stabs), but it is still SVR4. We cannot check for <elf.h> because # Irix 4.0.5F has the header but not the library. |