diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-29 22:42:01 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-11-29 22:42:01 +0000 |
commit | b00c8a2c9f8ab62abb2ce14ba26853cda3df91eb (patch) | |
tree | 7b33b5f6b19defe592d0c097cfb320f18c109521 | |
parent | 8017a63d26f07d47ea8356588d7b38af952a5da5 (diff) | |
download | monitoring-plugins-b00c8a2c9f8ab62abb2ce14ba26853cda3df91eb.tar.gz |
Patches for configure on *BSD (Julien Touche)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@950 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | configure.in | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 8d8e1e3e..ddf1f249 100644 --- a/configure.in +++ b/configure.in | |||
@@ -469,7 +469,13 @@ AC_HEADER_TIME | |||
469 | AC_HEADER_SYS_WAIT | 469 | AC_HEADER_SYS_WAIT |
470 | AC_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) | 470 | AC_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) |
471 | AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h) | 471 | AC_CHECK_HEADERS(features.h stdarg.h sys/unistd.h ctype.h stdlib.h) |
472 | AC_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) | 472 | AC_CHECK_HEADERS(limits.h sys/param.h) |
473 | AC_CHECK_HEADERS([sys/mount.h],[],[],[ | ||
474 | #ifdef HAVE_SYS_PARAM_H | ||
475 | #include <sys/param.h> | ||
476 | #endif | ||
477 | ]) | ||
478 | AC_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) |
475 | AC_MSG_CHECKING([for HUGE_VAL in <stdlib.h>]) | 481 | AC_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 | |||
1378 | dnl in the various BSD's | 1384 | dnl in the various BSD's |
1379 | dnl | 1385 | dnl |
1380 | 1386 | ||
1381 | AC_CHECK_HEADERS([sys/swap.h sys/stat.h sys/param.h]) | 1387 | AC_CHECK_HEADERS([sys/swap.h], [], [], [ |
1388 | #ifdef HAVE_SYS_PARAM_H | ||
1389 | #include <sys/param.h> | ||
1390 | #endif | ||
1391 | ]) | ||
1392 | AC_CHECK_HEADERS([sys/stat.h sys/param.h]) | ||
1382 | AC_CHECK_DECLS([swapctl],,,[ | 1393 | AC_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 | ]) |
1388 | AC_CHECK_TYPES([swaptbl_t, swapent_t],,,[ | 1400 | AC_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 | ]) |
1393 | AC_CHECK_MEMBERS([struct swapent.se_nblks],,,[ | 1406 | AC_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 | ]) |