summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-30 09:20:19 +0000
committerJim Meyering <jim@meyering.net>2002-04-30 09:20:19 +0000
commit24ad720079a9c8d90ec1946ff6b38552797c38c5 (patch)
treedb4a33e27429597574bc2caf7d0db8de43c18624
parentbb3842917c17cbeaceabdfd5f49482b1b904d16d (diff)
downloadcoreutils-24ad720079a9c8d90ec1946ff6b38552797c38c5.tar.xz
(jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
Do not check for alloca.h (no longer used) or stdbool.h (was never used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
-rw-r--r--m4/prereq.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 363b6b2b0..d16dc0e8f 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -70,8 +70,9 @@ AC_DEFUN([jm_PREREQ_GETPAGESIZE],
AC_DEFUN([jm_PREREQ_HARD_LOCALE],
[
- AC_CHECK_HEADERS(alloca.h locale.h stdbool.h string.h)
+ AC_CHECK_HEADERS(locale.h stdlib.h string.h)
AC_CHECK_FUNCS(setlocale)
+ AM_C_PROTOTYPES
])
AC_DEFUN([jm_PREREQ_HASH],