(AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
authorJim Meyering <jim@meyering.net>
Wed, 12 Apr 2000 16:03:20 +0000 (16:03 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 12 Apr 2000 16:03:20 +0000 (16:03 +0000)
`AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
Christian Krackowizer.

m4/getloadavg.m4

index fb98c7a..9488c9a 100644 (file)
@@ -1,4 +1,4 @@
-#serial 5
+#serial 6
 
 AC_DEFUN(AM_FUNC_GETLOADAVG,
 [ac_have_func=no # yes means we've found a way to get the load average.
@@ -47,7 +47,7 @@ else
   [ac_have_func=yes; AC_DEFINE(DGUX, 1, [FIXME])
   AC_CHECK_LIB(dgc, dg_sys_info)])
 
-  AC_CHECK_HEADER(locale.h)
+  AC_CHECK_HEADERS(locale.h)
   AC_CHECK_FUNCS(setlocale)
 
   # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it