summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-07 06:37:11 +0000
committerJim Meyering <jim@meyering.net>2003-08-07 06:37:11 +0000
commit7e7c738d65540972344f11e38de18ade9db286e1 (patch)
tree091fed98104dfdfbab06bf97a0dfb69fd8c514b6 /m4
parent896f4a1c190a9513691b0b261df828c91043520d (diff)
downloadcoreutils-7e7c738d65540972344f11e38de18ade9db286e1.tar.xz
(jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
that are present but cannot be compiled. This avoids spurious warnings on Solaris 9 sparc with Forte Developer 7 C 5.4.
Diffstat (limited to 'm4')
-rw-r--r--m4/prereq.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index a803e0626..f9aa4f488 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -1,4 +1,4 @@
-#serial 33
+#serial 34
dnl We use jm_ for non Autoconf macros.
m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
@@ -118,7 +118,7 @@ AC_DEFUN([jm_PREREQ_PHYSMEM],
[
AC_CHECK_HEADERS([unistd.h sys/pstat.h sys/sysmp.h sys/sysinfo.h \
machine/hal_sysinfo.h sys/table.h sys/param.h sys/sysctl.h \
- sys/systemcfg.h])
+ sys/systemcfg.h],,, [AC_INCLUDES_DEFAULT])
AC_CHECK_FUNCS(pstat_getstatic pstat_getdynamic sysmp getsysinfo sysctl table)
AC_REQUIRE([gl_SYS__SYSTEM_CONFIGURATION])
@@ -191,7 +191,8 @@ AC_DEFUN([jm_PREREQ_STAT],
AC_CHECK_FUNCS(statvfs)
# For `struct statfs' on Ultrix 4.4.
- AC_CHECK_HEADERS(netinet/in.h nfs/nfs_clnt.h nfs/vfs.h)
+ AC_CHECK_HEADERS([netinet/in.h nfs/nfs_clnt.h nfs/vfs.h],,,
+ [AC_INCLUDES_DEFAULT])
AC_REQUIRE([jm_AC_TYPE_LONG_LONG])