[Nagiosplug-checkins] nagiosplug THANKS.in,1.20,1.21 configure.in,1.175,1.176

Ton Voon tonvoon at users.sourceforge.net
Tue Mar 21 09:23:43 CET 2006


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3688

Modified Files:
	THANKS.in configure.in 
Log Message:
Stop check_dns from compiling if nslookup does not exist (Sakari Lehtonen -
1412721)


Index: THANKS.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/THANKS.in,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- THANKS.in	21 Mar 2006 11:42:59 -0000	1.20
+++ THANKS.in	21 Mar 2006 14:20:13 -0000	1.21
@@ -177,3 +177,4 @@
 Jason Crawford
 Steven Kreuzer
 Johan Fischer
+Sakari Lehtonen

Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -d -r1.175 -r1.176
--- configure.in	21 Mar 2006 13:32:58 -0000	1.175
+++ configure.in	21 Mar 2006 14:20:13 -0000	1.176
@@ -1209,17 +1209,17 @@
 fi
 
 
-AC_MSG_CHECKING(for nslookup syntax)
 AC_ARG_WITH(nslookup_command,
             ACX_HELP_STRING([--with-nslookup-command=PATH],
                             [sets path to nslookup executable]),
             ac_cv_nslookup_command=$withval)
 if test -n "$ac_cv_nslookup_command"; then
-	AC_MSG_RESULT([(command line) $ac_cv_nslookup_command])
+	AC_MSG_NOTICE([Using specific nslookup at $ac_cv_nslookup_command])
 else
 	AC_PATH_PROG(PATH_TO_NSLOOKUP,nslookup)
 	if test -n "$PATH_TO_NSLOOKUP"
 	then
+		AC_MSG_CHECKING(for nslookup syntax)
 		if $PATH_TO_NSLOOKUP -sil 127.0.0.1 2>&1 | grep ["Invalid option: sil"] >/dev/null
 		then
 			ac_cv_nslookup_command="$PATH_TO_NSLOOKUP"
@@ -1240,12 +1240,6 @@
 	AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup])
 fi
 
-AC_PATH_PROG(PATH_TO_HOST,host)
-if test -n "$ac_cv_path_PATH_TO_HOST"
-then
-	EXTRAS="$EXTRAS check_dns"
-fi
-
 AC_PATH_PROG(PATH_TO_UPTIME,uptime)
 AC_ARG_WITH(uptime_command,
             ACX_HELP_STRING([--with-uptime-command=PATH],





More information about the Commits mailing list