diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-05-10 10:25:39 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-05-10 10:25:39 (GMT) |
commit | b36ac42b73238d45c00d61ba6657fece3489b897 (patch) | |
tree | 4c47cedfe028a1b0f989c60690a548498f6044c1 /configure.in | |
parent | 828e5cacc1be0d140807c1ed190dc7236cff1c8f (diff) | |
download | monitoring-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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in index e919392..28d159e 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1316,7 +1316,6 @@ then | |||
1316 | AC_MSG_RESULT([using Unixware format swap]) | 1316 | AC_MSG_RESULT([using Unixware format swap]) |
1317 | 1317 | ||
1318 | fi | 1318 | fi |
1319 | EXTRAS="$EXTRAS check_swap" | ||
1320 | fi | 1319 | fi |
1321 | dnl end if for PATH_TO_SWAP | 1320 | dnl end if for PATH_TO_SWAP |
1322 | fi | 1321 | fi |
@@ -1336,7 +1335,6 @@ then | |||
1336 | ac_cv_swap_conv=1024 | 1335 | ac_cv_swap_conv=1024 |
1337 | AC_MSG_RESULT([using FreeBSD format swapinfo]) | 1336 | AC_MSG_RESULT([using FreeBSD format swapinfo]) |
1338 | fi | 1337 | fi |
1339 | EXTRAS="$EXTRAS check_swap" | ||
1340 | 1338 | ||
1341 | elif [$PATH_TO_SWAPINFO -dfM 2>/dev/null | egrep -i "^TYPE +AVAIL +USED +FREE" >/dev/null] | 1339 | elif [$PATH_TO_SWAPINFO -dfM 2>/dev/null | egrep -i "^TYPE +AVAIL +USED +FREE" >/dev/null] |
1342 | then | 1340 | then |
@@ -1367,6 +1365,7 @@ fi | |||
1367 | if test "x$ac_cv_have_swap" != "x" | 1365 | if test "x$ac_cv_have_swap" != "x" |
1368 | then | 1366 | then |
1369 | AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found]) | 1367 | AC_DEFINE(HAVE_SWAP,1,[Define if swap/swapinfo command is found]) |
1368 | EXTRAS="$EXTRAS check_swap" | ||
1370 | fi | 1369 | fi |
1371 | if test "x$ac_cv_swap_command" != "x" | 1370 | if test "x$ac_cv_swap_command" != "x" |
1372 | then | 1371 | then |