logo       
Google Custom Search
    AddThis Social Bookmark Button

nagiosplug configure.in,1.140,1.141: msg#00012

Subject: nagiosplug configure.in,1.140,1.141
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



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728


<Prev in Thread] Current Thread [Next in Thread>