aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-05-10 10:25:39 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-05-10 10:25:39 +0000
commitb36ac42b73238d45c00d61ba6657fece3489b897 (patch)
tree4c47cedfe028a1b0f989c60690a548498f6044c1
parent828e5cacc1be0d140807c1ed190dc7236cff1c8f (diff)
downloadmonitoring-plugins-b36ac42b73238d45c00d61ba6657fece3489b897.tar.gz
Set EXTRAS with check_swap if ac_cv_have_swap is set
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@875 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index e9193929..28d159e7 100644
--- a/configure.in
+++ b/configure.in
@@ -1316,7 +1316,6 @@ then
AC_MSG_RESULT([using Unixware format swap])
fi
- EXTRAS="$EXTRAS check_swap"
fi
dnl end if for PATH_TO_SWAP
fi
@@ -1336,7 +1335,6 @@ then
ac_cv_swap_conv=1024
AC_MSG_RESULT([using FreeBSD format swapinfo])
fi
- EXTRAS="$EXTRAS check_swap"
elif [$PATH_TO_SWAPINFO -dfM 2>/dev/null | egrep -i "^TYPE +AVAIL +USED +FREE" >/dev/null]
then
@@ -1367,6 +1365,7 @@ fi
if test "x$ac_cv_have_swap" != "x"
then
AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found])
+ EXTRAS="$EXTRAS check_swap"
fi
if test "x$ac_cv_swap_command" != "x"
then