summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 267c40a..4aebc2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1100,6 +1100,14 @@ then
1100 ac_cv_ping_packets_first=yes 1100 ac_cv_ping_packets_first=yes
1101 AC_MSG_RESULT([$with_ping_command]) 1101 AC_MSG_RESULT([$with_ping_command])
1102 1102
1103elif $PATH_TO_PING -4 -n -U -w 10 -c 1 127.0.0.1 2>/dev/null | \
1104 egrep -i "^round-trip|^rtt" >/dev/null
1105then
1106 # check if -4 is supported - issue #1550
1107 with_ping_command="$PATH_TO_PING -4 -n -U -w %d -c %d %s"
1108 ac_cv_ping_packets_first=yes
1109 ac_cv_ping_has_timeout=yes
1110 AC_MSG_RESULT([$with_ping_command])
1103elif $PATH_TO_PING -n -U -w 10 -c 1 127.0.0.1 2>/dev/null | \ 1111elif $PATH_TO_PING -n -U -w 10 -c 1 127.0.0.1 2>/dev/null | \
1104 egrep -i "^round-trip|^rtt" >/dev/null 1112 egrep -i "^round-trip|^rtt" >/dev/null
1105then 1113then