summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2020-05-15 09:46:54 (GMT)
committerSven Nierlein <sven@nierlein.de>2020-05-15 09:46:54 (GMT)
commit53e6f2970dcbabd41d55d87b2e7623a86fe48ec9 (patch)
tree766daf6602971dfc37e3e1d5f7483e35b98be5ff /configure.ac
parentadb958849491ea7e0bba4a15896ebd41a0fbff2d (diff)
parent4264e7a6edb651793ef751723537767656a89e44 (diff)
downloadmonitoring-plugins-53e6f2970dcbabd41d55d87b2e7623a86fe48ec9.tar.gz
Merge branch 'upstream' into check_curl
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