summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-08-19 19:05:49 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-08-19 19:05:49 (GMT)
commitd5ae799b8792708cad68d57c966b562dc442dccd (patch)
treee2890c5c039f7572de2d9fae84cd67e0754ab5bc /configure.in
parentc25c672eb2d17f8f10b8e28389a2fd9c91a9b81b (diff)
downloadmonitoring-plugins-d5ae799b8792708cad68d57c966b562dc442dccd.tar.gz
Patch for tru64 using swapctl calls (Sean Finney)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@890 f882894a-f735-0410-b71e-b25c423dba1c
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])