diff options
author | Jim Meyering <jim@meyering.net> | 2002-02-16 08:23:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-02-16 08:23:10 +0000 |
commit | 7592628e4889708dd1bfe480cf5dc0b26d8a2faa (patch) | |
tree | fa378e69ca1d8341318f04b67ca79fed16c411fb | |
parent | 9fff44980c2cc578b40eba7f048f2e7d82fb232d (diff) | |
download | coreutils-7592628e4889708dd1bfe480cf5dc0b26d8a2faa.tar.xz |
(jm_PREREQ_POSIXVER): New macro.
(jm_PREREQ): Use it.
-rw-r--r-- | m4/prereq.m4 | 7 |
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) |