changeset 2896:581f9d45a0a0

(jm_PREREQ_DIRNAME): New macro.
author Jim Meyering <jim@meyering.net>
date Sat, 21 Oct 2000 10:37:10 +0000
parents 89e7cf57fcc1
children 40b51c38e2d0
files m4/prereq.m4
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/prereq.m4	Sat Oct 21 10:36:49 2000 +0000
+++ b/m4/prereq.m4	Sat Oct 21 10:37:10 2000 +0000
@@ -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 @@
 [
   jm_PREREQ_ADDEXT
   jm_PREREQ_CANON_HOST
+  jm_PREREQ_DIRNAME
   jm_PREREQ_ERROR
   jm_PREREQ_GETPAGESIZE
   jm_PREREQ_HUMAN
@@ -39,6 +40,12 @@
                    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,