summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-21 10:37:10 +0000
committerJim Meyering <jim@meyering.net>2000-10-21 10:37:10 +0000
commitf52857a26b8cbd8760a77641b6db5ef58f72ec62 (patch)
treeb88037a47a4c3d26d634cdca78f3e5118119ca35
parent137c17bbfd0f27ffacede080e9ff539549c79a02 (diff)
downloadgnulib-f52857a26b8cbd8760a77641b6db5ef58f72ec62.tar.gz
(jm_PREREQ_DIRNAME): New macro.
-rw-r--r--m4/prereq.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index bd37b79b4c..9734514a4c 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 11
+#serial 12
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
@@ -7,6 +7,7 @@ AC_DEFUN(jm_PREREQ,
[
jm_PREREQ_ADDEXT
jm_PREREQ_CANON_HOST
+ jm_PREREQ_DIRNAME
jm_PREREQ_ERROR
jm_PREREQ_GETPAGESIZE
jm_PREREQ_HUMAN
@@ -39,6 +40,12 @@ AC_DEFUN(jm_PREREQ_CANON_HOST,
netinet/in.h arpa/inet.h)
])
+AC_DEFUN(jm_PREREQ_DIRNAME,
+[
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS(string.h)
+])
+
# If you use human.c, you need the following files:
# uintmax_t.m4 inttypes_h.m4 ulonglong.m4
AC_DEFUN(jm_PREREQ_HUMAN,