summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
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.