summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-22 21:51:57 +0000
committerJim Meyering <jim@meyering.net>2000-01-22 21:51:57 +0000
commit24c45a756e67d049880b25d1341225a32dbf4bed (patch)
treecaaca9c332612e69fd50112014adf109e99f8e04 /m4
parentd4db66a0fbd1c4aed90243f46c942b5106d47edd (diff)
downloadcoreutils-24c45a756e67d049880b25d1341225a32dbf4bed.tar.xz
(jm_PREREQ_ADDEXT): New macro. Parts moved here from fileutils' configure.in.
Diffstat (limited to 'm4')
-rw-r--r--m4/prereq.m411
1 files changed, 10 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 122d69e05..4c8ac9384 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,10 +1,11 @@
-#serial 4
+#serial 5
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
AC_DEFUN(jm_PREREQ,
[
+ jm_PREREQ_ADDEXT
jm_PREREQ_CANON_HOST
jm_PREREQ_ERROR
jm_PREREQ_QUOTEARG
@@ -12,6 +13,14 @@ AC_DEFUN(jm_PREREQ,
jm_PREREQ_REGEX
])
+AC_DEFUN(jm_PREREQ_ADDEXT,
+[
+ dnl For addext.c.
+ AC_SYS_LONG_FILE_NAMES
+ AC_CHECK_FUNC(pathconf)
+ AC_CHECK_HEADERS(limits.h string.h unistd.h)
+])
+
AC_DEFUN(jm_PREREQ_CANON_HOST,
[
dnl Add any libraries as early as possible.