summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 18 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e207d95..3154af0 100644
--- a/configure.in
+++ b/configure.in
@@ -4,7 +4,7 @@ AC_PREREQ(2.50)
4AC_INIT(nagios-plugins,1.4.0alpha2) 4AC_INIT(nagios-plugins,1.4.0alpha2)
5AC_CONFIG_SRCDIR(Helper.pm) 5AC_CONFIG_SRCDIR(Helper.pm)
6AM_INIT_AUTOMAKE 6AM_INIT_AUTOMAKE
7AC_CONFIG_HEADER(config.h) 7AM_CONFIG_HEADER(config.h)
8AC_CANONICAL_HOST 8AC_CANONICAL_HOST
9 9
10RELEASE=1 10RELEASE=1
@@ -1388,6 +1388,23 @@ fi
1388dnl end if for PATH_TO_SWAPCTL 1388dnl end if for PATH_TO_SWAPCTL
1389fi 1389fi
1390 1390
1391dnl
1392dnl test for swapctl system call, as found in tru64 and solaris
1393dnl note: the way the ifdef logic in check_swap is right now,
1394dnl this will only affect systems that don't pass one of the
1395dnl earlier tests.
1396dnl
1397AC_CHECK_HEADERS([sys/swap.h sys/stat.h sys/param.h])
1398AC_CHECK_DECLS([swapctl],,,[
1399 #include <sys/types.h>
1400 #include <sys/stat.h>
1401 #include <sys/swap.h>
1402 ])
1403dnl
1404dnl end test for swapctl system call
1405dnl
1406
1407
1391if test "x$ac_cv_have_swap" != "x" 1408if test "x$ac_cv_have_swap" != "x"
1392then 1409then
1393 AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found]) 1410 AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found])