summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-24 07:50:48 +0000
committerJim Meyering <jim@meyering.net>2002-04-24 07:50:48 +0000
commit0b79c81d9d74175f07a1bb76e936892d9c540689 (patch)
tree4b994a8731ff503e69a0ae91303435fd05731d9b /m4
parent6acdf378881b772e95ded02edb3eb67871f1e8b9 (diff)
downloadcoreutils-0b79c81d9d74175f07a1bb76e936892d9c540689.tar.xz
(jm_PREREQ_HARD_LOCALE): New macro.
(jm_PREREQ): Use it.
Diffstat (limited to 'm4')
-rw-r--r--m4/prereq.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 9059452c6..e2265d4fa 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 23
+#serial 24
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
@@ -11,6 +11,7 @@ AC_DEFUN([jm_PREREQ],
jm_PREREQ_ERROR
jm_PREREQ_EXCLUDE
jm_PREREQ_GETPAGESIZE
+ jm_PREREQ_HARD_LOCALE
jm_PREREQ_HASH
jm_PREREQ_HUMAN
jm_PREREQ_MBSWIDTH
@@ -66,6 +67,12 @@ AC_DEFUN([jm_PREREQ_GETPAGESIZE],
AC_CHECK_HEADERS(OS.h unistd.h)
])
+AC_DEFUN([jm_PREREQ_HARD_LOCALE],
+[
+ AC_CHECK_HEADERS(alloca.h locale.h stdbool.h string.h)
+ AC_CHECK_FUNCS(setlocale)
+])
+
AC_DEFUN([jm_PREREQ_HASH],
[
AC_CHECK_HEADERS(stdlib.h stdbool.h)