summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/prereq.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 376b05640..9a73829cc 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -16,6 +16,7 @@ AC_DEFUN([jm_PREREQ],
jm_PREREQ_MBSWIDTH
jm_PREREQ_MEMCHR
jm_PREREQ_PHYSMEM
+ jm_PREREQ_POSIXVER
jm_PREREQ_QUOTEARG
jm_PREREQ_READUTMP
jm_PREREQ_REGEX
@@ -91,6 +92,12 @@ AC_DEFUN([jm_PREREQ_PHYSMEM],
AC_CHECK_FUNCS(pstat_getstatic pstat_getdynamic)
])
+AC_DEFUN([jm_PREREQ_POSIXVER],
+[
+ AC_CHECK_HEADERS(unistd.h)
+ AC_CHECK_DECLS([getenv])
+])
+
AC_DEFUN([jm_PREREQ_QUOTEARG],
[
AC_CHECK_FUNCS(isascii iswprint)