summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2be722)
raw | patch | inline | side by side (parent: c2be722)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 8 May 2002 05:04:55 +0000 (05:04 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 8 May 2002 05:04:55 +0000 (05:04 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@24 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index e7af90180fe1670cd6c7c6d060600b0413ce81b1..86a9cc625c78db60a805cad81e814481be6ad041 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_MSG_WARN("nslookup command not found")
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")
AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET")
EXTRAS="$EXTRAS check_hpjd check_snmp"
else
- echo "** Get snmpget from http://ucd-snmp.ucdavis.edu to make check_hpjd and check_snmp plugins"
+ echo "** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins"
fi
AC_PATH_PROG(PATH_TO_SNMPGETNEXT,snmpgetnext)
AC_DEFINE_UNQUOTED(PATH_TO_FPING,"$PATH_TO_FPING")
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"
+ echo "** Get fping from http://www.fping.com in order to make check_fping plugin"
fi
AC_PATH_PROG(PATH_TO_SSH,ssh)