summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-02-16 08:23:10 +0000
committerJim Meyering <jim@meyering.net>2002-02-16 08:23:10 +0000
commit7592628e4889708dd1bfe480cf5dc0b26d8a2faa (patch)
treefa378e69ca1d8341318f04b67ca79fed16c411fb
parent9fff44980c2cc578b40eba7f048f2e7d82fb232d (diff)
downloadcoreutils-7592628e4889708dd1bfe480cf5dc0b26d8a2faa.tar.xz
(jm_PREREQ_POSIXVER): New macro.
(jm_PREREQ): Use it.
-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)