summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index dfc37b5..89eda3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1225,6 +1225,16 @@ elif [[ "z$ac_cv_uname_o" = "zCygwin" -a "x$PATH_TO_PING" != "x" ]]; then
1225 ac_cv_ping6_packets_first=yes 1225 ac_cv_ping6_packets_first=yes
1226 ac_cv_ping_has_timeout=yes 1226 ac_cv_ping_has_timeout=yes
1227 AC_MSG_RESULT([$with_ping6_command]) 1227 AC_MSG_RESULT([$with_ping6_command])
1228
1229elif test "x$PATH_TO_PING" != "x" && \
1230 $PATH_TO_PING -6 -n -U -w 10 -c 1 ::1 2>/dev/null | \
1231 egrep -i "^round-trip|^rtt" >/dev/null
1232then
1233 with_ping6_command="$PATH_TO_PING -6 -n -U -w %d -c %d %s"
1234 ac_cv_ping6_packets_first=yes
1235 ac_cv_ping_has_timeout=yes
1236 AC_MSG_RESULT([$with_ping6_command])
1237
1228elif test "x$PATH_TO_PING6" != "x"; then 1238elif test "x$PATH_TO_PING6" != "x"; then
1229 if [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \ 1239 if [[ "z$ac_cv_uname_s" = "zUnixWare" ]] && \
1230 $PATH_TO_PING6 -n -s ::1 56 1 2>/dev/null | \ 1240 $PATH_TO_PING6 -n -s ::1 56 1 2>/dev/null | \