summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in18
1 files changed, 16 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 8d8e1e3..ddf1f24 100644
--- a/configure.in
+++ b/configure.in
@@ -469,7 +469,13 @@ AC_HEADER_TIME
469AC_HEADER_SYS_WAIT 469AC_HEADER_SYS_WAIT
470AC_CHECK_HEADERS(signal.h strings.h string.h syslog.h uio.h errno.h regex.h sys/types.h sys/time.h sys/socket.h sys/loadavg.h) 470AC_CHECK_HEADERS(signal.h strings.h string.h syslog.h uio.h errno.h regex.h sys/types.h sys/time.h sys/socket.h sys/loadavg.h)
471AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h) 471AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h)
472AC_CHECK_HEADERS(limits.h sys/param.h sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h fcntl.h sys/statfs.h sys/dustat.h sys/statvfs.h) 472AC_CHECK_HEADERS(limits.h sys/param.h)
473AC_CHECK_HEADERS([sys/mount.h],[],[],[
474#ifdef HAVE_SYS_PARAM_H
475#include <sys/param.h>
476#endif
477])
478AC_CHECK_HEADERS(sys/vfs.h sys/fs/s5param.h sys/filsys.h fcntl.h sys/statfs.h sys/dustat.h sys/statvfs.h)
473 479
474# glibc 2.3.2 stdlib.h does not define HUGE_VAL (see man strtod) 480# glibc 2.3.2 stdlib.h does not define HUGE_VAL (see man strtod)
475AC_MSG_CHECKING([for HUGE_VAL in <stdlib.h>]) 481AC_MSG_CHECKING([for HUGE_VAL in <stdlib.h>])
@@ -1378,21 +1384,29 @@ dnl fwict, the 2-arg is an SVR4 standard, whereas the 3-arg is shared
1378dnl in the various BSD's 1384dnl in the various BSD's
1379dnl 1385dnl
1380 1386
1381AC_CHECK_HEADERS([sys/swap.h sys/stat.h sys/param.h]) 1387AC_CHECK_HEADERS([sys/swap.h], [], [], [
1388#ifdef HAVE_SYS_PARAM_H
1389#include <sys/param.h>
1390#endif
1391])
1392AC_CHECK_HEADERS([sys/stat.h sys/param.h])
1382AC_CHECK_DECLS([swapctl],,,[ 1393AC_CHECK_DECLS([swapctl],,,[
1383 #include <unistd.h> 1394 #include <unistd.h>
1384 #include <sys/types.h> 1395 #include <sys/types.h>
1396 #include <sys/param.h>
1385 #include <sys/stat.h> 1397 #include <sys/stat.h>
1386 #include <sys/swap.h> 1398 #include <sys/swap.h>
1387 ]) 1399 ])
1388AC_CHECK_TYPES([swaptbl_t, swapent_t],,,[ 1400AC_CHECK_TYPES([swaptbl_t, swapent_t],,,[
1389 #include <sys/types.h> 1401 #include <sys/types.h>
1402 #include <sys/param.h>
1390 #include <sys/stat.h> 1403 #include <sys/stat.h>
1391 #include <sys/swap.h> 1404 #include <sys/swap.h>
1392 ]) 1405 ])
1393AC_CHECK_MEMBERS([struct swapent.se_nblks],,,[ 1406AC_CHECK_MEMBERS([struct swapent.se_nblks],,,[
1394 #include <unistd.h> 1407 #include <unistd.h>
1395 #include <sys/types.h> 1408 #include <sys/types.h>
1409 #include <sys/param.h>
1396 #include <sys/stat.h> 1410 #include <sys/stat.h>
1397 #include <sys/swap.h> 1411 #include <sys/swap.h>
1398 ]) 1412 ])