[Nagiosplug-checkins] nagiosplug configure.in,1.140,1.141

M. Sean Finney seanius at users.sourceforge.net
Mon Apr 18 17:13:04 UTC 2005


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

Modified Files:
	configure.in 
Log Message:
check for the -w flag for ping6 as well as ping


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- configure.in	11 Apr 2005 03:07:54 -0000	1.140
+++ configure.in	19 Apr 2005 00:09:18 -0000	1.141
@@ -957,6 +957,14 @@
 		ac_cv_ping6_packets_first=yes
 		AC_MSG_RESULT([$with_ping6_command])
 
+	elif $PATH_TO_PING6 -n -U -w 10 -c 1 ::1 2>/dev/null | \
+		egrep -i "^round-trip|^rtt" >/dev/null
+	then
+		with_ping6_command="$PATH_TO_PING6 -n -U -w %d -c %d %s"
+		ac_cv_ping6_packets_first=yes
+		ac_cv_ping_has_timeout=yes
+		AC_MSG_RESULT([$with_ping6_command])
+
 	elif $PATH_TO_PING6 -n -U -c 1 ::1 2>/dev/null | \
 		egrep -i "^round-trip|^rtt" >/dev/null
 	then





More information about the Nagiosplugin-commits mailing list