Christoph Biedl wrote...

> The actual magic should reside in the configure script.
> The current (and broken) output is:
> | checking for ICMP ping syntax... /bin/ping -n -U -w %d -c %d %s
> | checking for ICMPv6 ping syntax... /bin/ping6 -n -U -c %d %s

Sorry to bother you again but I'd really like to see that fixed in
sarge. The patch attached adds the test clause in configure, stolen from
the IPv4 counterpart. Works for me.

    Christoph
--- OLD/configure       2005-05-17 23:16:21.000000000 +0200
+++ NEW/configure       2005-05-19 23:50:39.000000000 +0200
@@ -14385,6 +14385,13 @@
                ac_cv_ping6_packets_first=yes
                echo "$as_me:$LINENO: result: $with_ping6_command" >&5
 echo "${ECHO_T}$with_ping6_command" >&6
+       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
+               echo "$as_me:$LINENO: result: $with_ping6_command" >&5
+echo "${ECHO_T}$with_ping6_command" >&6
 
        elif $PATH_TO_PING6 -n -U -c 1 ::1 2>/dev/null | \
                egrep -i "^round-trip|^rtt" >/dev/null

Reply via email to