summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/prereq.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index f822efc71..f58d7387b 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 5
+#serial 6
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
@@ -8,6 +8,7 @@ AC_DEFUN(jm_PREREQ,
jm_PREREQ_ADDEXT
jm_PREREQ_CANON_HOST
jm_PREREQ_ERROR
+ jm_PREREQ_GETPAGESIZE
jm_PREREQ_QUOTEARG
jm_PREREQ_READUTMP
jm_PREREQ_REGEX
@@ -36,6 +37,12 @@ AC_DEFUN(jm_PREREQ_CANON_HOST,
netinet/in.h arpa/inet.h)
])
+AC_DEFUN(jm_PREREQ_GETPAGESIZE,
+[
+ AC_CHECK_FUNCS(getpagesize)
+ AC_CHECK_HEADERS(OS.h unistd.h)
+])
+
AC_DEFUN(jm_PREREQ_QUOTEARG,
[
AC_CHECK_FUNCS(isascii mbrtowc)