[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.3,1.4
Subhendu Ghosh
sghosh at users.sourceforge.net
Thu May 9 20:50:03 CEST 2002
Update of /cvsroot/nagiosplug/nagiosplug
In directory usw-pr-cvs1:/tmp/cvs-serv26387
Modified Files:
configure.in
Log Message:
added programs to autoconf
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** configure.in 8 May 2002 05:04:55 -0000 1.3
--- configure.in 10 May 2002 03:49:22 -0000 1.4
***************
*** 630,633 ****
--- 630,654 ----
AC_DEFINE_UNQUOTED(PATH_TO_UPTIME,"$PATH_TO_UPTIME")
+ AC_PATH_PROG(PATH_TO_RPCINFO,rpcinfo)
+ AC_DEFINE_UNQUOTED(PATH_TO_RPCINFO,"$PATH_TO_RPCINFO")
+
+ AC_PATH_PROG(PATH_TO_NTPDATE,ntpdate)
+ AC_PATH_PROG(PATH_TO_NTPDC,ntpdc)
+ if (test -x "$PATH_TO_NTPDATE" || test -x "$PATH_TO_NTPDC")
+ then
+ AC_DEFINE_UNQUOTED(PATH_TO_NTPDC,"$PATH_TO_NTPDC")
+ AC_DEFINE_UNQUOTED(PATH_TO_NTPDATE,"$PATH_TO_NTPDATE")
+ else
+ echo "** Install NTP programs if you want to monitor time synchronization"
+ fi
+
+ AC_PATH_PROG(PATH_TO_LMSTAT,lmstat)
+ if test -x "$PATH_TO_LMSTAT"
+ then
+ AC_DEFINE_UNQUOTED(PATH_TO_LMSTAT,"$PATH_TO_LMSTAT")
+ else
+ echo "** Get lmstat from Globetrotter Software to monitor flexlm licenses"
+ fi
+
AC_PATH_PROG(PATH_TO_WHO,who)
if [who -q 2>/dev/null | egrep -i "^# users=[0-9]+$" >/dev/null]
***************
*** 639,643 ****
AC_PATH_PROG(PATH_TO_SNMPGET,snmpget)
! if test -f "$PATH_TO_SNMPGET"
then
AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET")
--- 660,664 ----
AC_PATH_PROG(PATH_TO_SNMPGET,snmpget)
! if test -x "$PATH_TO_SNMPGET"
then
AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET")
***************
*** 648,663 ****
AC_PATH_PROG(PATH_TO_SNMPGETNEXT,snmpgetnext)
! if test -f "$PATH_TO_SNMPGETNEXT"
then
AC_DEFINE_UNQUOTED(PATH_TO_SNMPGETNEXT,"$PATH_TO_SNMPGETNEXT")
fi
AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat)
AC_PATH_PROG(PATH_TO_QSTAT,qstat)
! if test -n "$PATH_TO_QUAKESTAT"
then
AC_DEFINE_UNQUOTED(PATH_TO_QSTAT,"$PATH_TO_QUAKESTAT")
EXTRAS="$EXTRAS check_game"
! elif test -n "$PATH_TO_QSTAT"
then
AC_DEFINE_UNQUOTED(PATH_TO_QSTAT,"$PATH_TO_QSTAT")
--- 669,692 ----
AC_PATH_PROG(PATH_TO_SNMPGETNEXT,snmpgetnext)
! if test -x "$PATH_TO_SNMPGETNEXT"
then
AC_DEFINE_UNQUOTED(PATH_TO_SNMPGETNEXT,"$PATH_TO_SNMPGETNEXT")
fi
+ if ( $PERL -MNet::SNMP -e 'print $Net::SNMP::VERSION;' )
+ then
+ echo "Found Net::SNMP perl module"
+ else
+ echo "** Tried $PERL - install Net::SNMP perl module if you want to"
+ echo " use the perl snmp plugins"
+ fi
+
AC_PATH_PROG(PATH_TO_QUAKESTAT,quakestat)
AC_PATH_PROG(PATH_TO_QSTAT,qstat)
! if test -x "$PATH_TO_QUAKESTAT"
then
AC_DEFINE_UNQUOTED(PATH_TO_QSTAT,"$PATH_TO_QUAKESTAT")
EXTRAS="$EXTRAS check_game"
! elif test -x "$PATH_TO_QSTAT"
then
AC_DEFINE_UNQUOTED(PATH_TO_QSTAT,"$PATH_TO_QSTAT")
***************
*** 668,672 ****
AC_PATH_PROG(PATH_TO_FPING,fping)
! if test -n "$PATH_TO_FPING"
then
AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING")
--- 697,701 ----
AC_PATH_PROG(PATH_TO_FPING,fping)
! if test -x "$PATH_TO_FPING"
then
AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING")
***************
*** 677,681 ****
AC_PATH_PROG(PATH_TO_SSH,ssh)
! if test -f "$PATH_TO_SSH"
then
AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH")
--- 706,710 ----
AC_PATH_PROG(PATH_TO_SSH,ssh)
! if test -x "$PATH_TO_SSH"
then
AC_DEFINE_UNQUOTED(SSH_COMMAND,"$PATH_TO_SSH")
More information about the Commits
mailing list