Code

DHCP bug fix
[nagiosplug.git] / configure.in
index 79fe2f0d0547f1d36e0e7539215dba03c47546a2..28d159e7a50132396a0304e16b4791c4cff82611 100644 (file)
@@ -804,7 +804,7 @@ elif ps -el 2>/dev/null | \
        egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +ADDR +SZ +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null
 then
        ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]"
-       ac_cv_ps_command="$PATH_TO_PS -el (AIX 4.1)"
+       ac_cv_ps_command="$PATH_TO_PS -el (AIX 4.1 and HP-UX)"
        ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %n%s"
        ac_cv_ps_cols=5
        AC_MSG_RESULT([$ac_cv_ps_command])
@@ -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