summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-10 21:18:34 +0000
committerJim Meyering <jim@meyering.net>2001-11-10 21:18:34 +0000
commit6af87f1ac6eeec9d5dd61d5835ccfe335ed3b6ae (patch)
tree384906523be72bd91ff81f3ac4bfb9c38ead84fb /m4
parentaa4d86195c963100cc1e0857431af40d66c479b2 (diff)
downloadcoreutils-6af87f1ac6eeec9d5dd61d5835ccfe335ed3b6ae.tar.xz
(jm_PREREQ_PHYSMEM): New function.
(jm_PREREQ): Use it.
Diffstat (limited to 'm4')
-rw-r--r--m4/prereq.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index eeaf32d87..25770837d 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 21
+#serial 22
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
@@ -15,6 +15,7 @@ AC_DEFUN([jm_PREREQ],
jm_PREREQ_HUMAN
jm_PREREQ_MBSWIDTH
jm_PREREQ_MEMCHR
+ jm_PREREQ_PHYSMEM
jm_PREREQ_QUOTEARG
jm_PREREQ_READUTMP
jm_PREREQ_REGEX
@@ -84,6 +85,12 @@ AC_DEFUN([jm_PREREQ_MEMCHR],
AC_CHECK_HEADERS(limits.h stdlib.h bp-sym.h)
])
+AC_DEFUN([jm_PREREQ_PHYSMEM],
+[
+ AC_CHECK_HEADERS(sys/pstat.h unistd.h bp-sym.h)
+ AC_CHECK_FUNCS(pstat_getstatic pstat_getdynamic)
+])
+
AC_DEFUN([jm_PREREQ_QUOTEARG],
[
AC_CHECK_FUNCS(isascii iswprint)