summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-28 12:29:45 +0000
committerJim Meyering <jim@meyering.net>2000-10-28 12:29:45 +0000
commit20d893e3e242a2cf5c6adedbbbf87323422d496c (patch)
treec4a8523dfb10fa099cc77f975989f907641341b6
parent3610481c9794d9b4e36bea14ee50499e63b958ee (diff)
downloadcoreutils-20d893e3e242a2cf5c6adedbbbf87323422d496c.tar.xz
(jm_PREREQ): Add jm_PREREQ_MEMCHR.
(jm_PREREQ_MEMCHR): New function.
-rw-r--r--m4/prereq.m414
1 files changed, 10 insertions, 4 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 9734514a4..533b618f0 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 12
+#serial 13
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
@@ -12,6 +12,7 @@ AC_DEFUN(jm_PREREQ,
jm_PREREQ_GETPAGESIZE
jm_PREREQ_HUMAN
jm_PREREQ_MBSWIDTH
+ jm_PREREQ_MEMCHR
jm_PREREQ_QUOTEARG
jm_PREREQ_READUTMP
jm_PREREQ_REGEX
@@ -46,6 +47,12 @@ AC_DEFUN(jm_PREREQ_DIRNAME,
AC_CHECK_HEADERS(string.h)
])
+AC_DEFUN(jm_PREREQ_GETPAGESIZE,
+[
+ AC_CHECK_FUNCS(getpagesize)
+ AC_CHECK_HEADERS(OS.h unistd.h)
+])
+
# If you use human.c, you need the following files:
# uintmax_t.m4 inttypes_h.m4 ulonglong.m4
AC_DEFUN(jm_PREREQ_HUMAN,
@@ -56,10 +63,9 @@ AC_DEFUN(jm_PREREQ_HUMAN,
AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
])
-AC_DEFUN(jm_PREREQ_GETPAGESIZE,
+AC_DEFUN(jm_PREREQ_MEMCHR,
[
- AC_CHECK_FUNCS(getpagesize)
- AC_CHECK_HEADERS(OS.h unistd.h)
+ AC_CHECK_HEADERS(limits.h stdlib.h bp-sym.h)
])
AC_DEFUN(jm_PREREQ_QUOTEARG,