|
@@ -1119,10 +1119,10 @@ then
|
|
|
ac_cv_ping_packets_first=yes
|
|
ac_cv_ping_packets_first=yes
|
|
|
AC_MSG_RESULT([$with_ping_command])
|
|
AC_MSG_RESULT([$with_ping_command])
|
|
|
|
|
|
|
|
-elif $PATH_TO_PING -n -U -W 10 -c 1 127.0.0.1 2>/dev/null | \
|
|
|
|
|
|
|
+elif $PATH_TO_PING -n -U -w 10 -c 1 127.0.0.1 2>/dev/null | \
|
|
|
egrep -i "^round-trip|^rtt" >/dev/null
|
|
egrep -i "^round-trip|^rtt" >/dev/null
|
|
|
then
|
|
then
|
|
|
- with_ping_command="$PATH_TO_PING -n -U -W %d -c %d %s"
|
|
|
|
|
|
|
+ with_ping_command="$PATH_TO_PING -n -U -w %d -c %d %s"
|
|
|
ac_cv_ping_packets_first=yes
|
|
ac_cv_ping_packets_first=yes
|
|
|
ac_cv_ping_has_timeout=yes
|
|
ac_cv_ping_has_timeout=yes
|
|
|
AC_MSG_RESULT([$with_ping_command])
|
|
AC_MSG_RESULT([$with_ping_command])
|
|
@@ -1243,10 +1243,10 @@ elif test "x$PATH_TO_PING6" != "x"; then
|
|
|
ac_cv_ping6_packets_first=yes
|
|
ac_cv_ping6_packets_first=yes
|
|
|
AC_MSG_RESULT([$with_ping6_command])
|
|
AC_MSG_RESULT([$with_ping6_command])
|
|
|
|
|
|
|
|
- elif $PATH_TO_PING6 -n -U -W 10 -c 1 ::1 2>/dev/null | \
|
|
|
|
|
|
|
+ elif $PATH_TO_PING6 -n -U -w 10 -c 1 ::1 2>/dev/null | \
|
|
|
egrep -i "^round-trip|^rtt" >/dev/null
|
|
egrep -i "^round-trip|^rtt" >/dev/null
|
|
|
then
|
|
then
|
|
|
- with_ping6_command="$PATH_TO_PING6 -n -U -W %d -c %d %s"
|
|
|
|
|
|
|
+ with_ping6_command="$PATH_TO_PING6 -n -U -w %d -c %d %s"
|
|
|
ac_cv_ping6_packets_first=yes
|
|
ac_cv_ping6_packets_first=yes
|
|
|
ac_cv_ping_has_timeout=yes
|
|
ac_cv_ping_has_timeout=yes
|
|
|
AC_MSG_RESULT([$with_ping6_command])
|
|
AC_MSG_RESULT([$with_ping6_command])
|