[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.45,1.46
Ton Voon
tonvoon at users.sourceforge.net
Sat Feb 22 11:07:14 CET 2003
Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1:/tmp/cvs-serv14512
Modified Files:
configure.in
Log Message:
Solaris and Unixware labels round the wrong way for swap command
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** configure.in 19 Feb 2003 08:36:38 -0000 1.45
--- configure.in 22 Feb 2003 19:06:45 -0000 1.46
***************
*** 910,918 ****
then
AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output])
! echo " using UnixWare format"
elif [swap -l 2>/dev/null | egrep -i "^path +dev +swaplo +blocks +free" >/dev/null]
then
AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output])
! echo " using Solaris format"
fi
EXTRAS="$EXTRAS check_swap"
--- 910,918 ----
then
AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output])
! echo " using Solaris format"
elif [swap -l 2>/dev/null | egrep -i "^path +dev +swaplo +blocks +free" >/dev/null]
then
AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %*[[0-9,-]] %*d %d %d"],[Format string for parsing swap output])
! echo " using Unixware format"
fi
EXTRAS="$EXTRAS check_swap"
More information about the Commits
mailing list