[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.2,1.3
Subhendu Ghosh
sghosh at users.sourceforge.net
Tue May 7 22:05:03 CEST 2002
Update of /cvsroot/nagiosplug/nagiosplug
In directory usw-pr-cvs1:/tmp/cvs-serv25309
Modified Files:
configure.in
Log Message:
updated messages and check for host command
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** configure.in 18 Apr 2002 04:38:46 -0000 1.2
--- configure.in 8 May 2002 05:04:55 -0000 1.3
***************
*** 613,616 ****
--- 613,630 ----
fi
+ AC_PATH_PROG(PATH_TO_HOST,host)
+ if test -n "$ac_cv_path_PATH_TO_HOST"
+ then
+ AC_MSG_CHECKING("host syntax")
+ if [host 127.0.0.1 2>&1 | grep -v "ommand not found" > /dev/null]
+ then
+ AC_MSG_RESULT("$PATH_TO_HOST")
+ AC_DEFINE_UNQUOTED(HOST_COMMAND,"$PATH_TO_HOST")
+ fi
+ EXTRAS="$EXTRAS check_dns"
+ else
+ AC_MSG_WARN("host command not found")
+ fi
+
AC_PATH_PROG(PATH_TO_UPTIME,uptime)
AC_DEFINE_UNQUOTED(PATH_TO_UPTIME,"$PATH_TO_UPTIME")
***************
*** 630,634 ****
EXTRAS="$EXTRAS check_hpjd check_snmp"
else
! echo "** Get snmpget from http://ucd-snmp.ucdavis.edu to make check_hpjd and check_snmp plugins"
fi
--- 644,648 ----
EXTRAS="$EXTRAS check_hpjd check_snmp"
else
! echo "** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins"
fi
***************
*** 659,663 ****
EXTRAS="$EXTRAS check_fping"
else
! echo "** Get fping from http://www.stanford.edu/~schemers/docs/fping/fping.html in order to make check_fping plugin"
fi
--- 673,677 ----
EXTRAS="$EXTRAS check_fping"
else
! echo "** Get fping from http://www.fping.com in order to make check_fping plugin"
fi
More information about the Commits
mailing list