From 7e7c738d65540972344f11e38de18ade9db286e1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 7 Aug 2003 06:37:11 +0000 Subject: [PATCH] (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. --- m4/prereq.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/m4/prereq.m4 b/m4/prereq.m4 index a803e06262..f9aa4f4885 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]) -- 2.47.2