summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-11-08 22:59:53 +0000
committerJim Meyering <jim@meyering.net>2002-11-08 22:59:53 +0000
commit83a7b1049d64b39078673289b15c60a24a683a0c (patch)
tree4d94356f64c5123f7c63b1c7136b35f3c1521516 /m4
parent5dd24d18e2a9d00fcf2615187895064f06ad33e5 (diff)
downloadcoreutils-83a7b1049d64b39078673289b15c60a24a683a0c.tar.xz
(jm_PREREQ_HUMAN): Check for locale.h, localeconv,
AC_HEADER_STDBOOL. No need to check for limits.h since it's in freestanding C89. No need to check for stdlib.h or string.h since autoconf does this now.
Diffstat (limited to 'm4')
-rw-r--r--m4/prereq.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 57162d2f6..b5578e999 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 27
+#serial 28
dnl We use jm_ for non Autoconf macros.
m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
@@ -88,11 +88,13 @@ AC_DEFUN([jm_PREREQ_HASH],
])
# If you use human.c, you need the following files:
-# inttypes.m4 ulonglong.m4
+# inttypes.m4 longlong.m4
AC_DEFUN([jm_PREREQ_HUMAN],
[
- AC_CHECK_HEADERS(limits.h stdlib.h string.h)
+ AC_CHECK_HEADERS(locale.h)
AC_CHECK_DECLS([getenv])
+ AC_CHECK_FUNCS(localeconv)
+ AC_HEADER_STDBOOL
AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
])