From 57320ecafbea58951bc6e6cd767d8f0f61d80af9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 31 Jan 1999 16:22:58 +0000 Subject: [PATCH] Check for locale.h and the function, setlocale. --- m4/getloadavg.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 index 86d5ca288e..412d0fe84e 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 , because Solaris 2 does not use dwarf (it # uses stabs), but it is still SVR4. We cannot check for because # Irix 4.0.5F has the header but not the library. -- 2.30.2