diff options
author | Sven Nierlein <sven@nierlein.de> | 2020-05-15 09:46:54 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2020-05-15 09:46:54 (GMT) |
commit | 53e6f2970dcbabd41d55d87b2e7623a86fe48ec9 (patch) | |
tree | 766daf6602971dfc37e3e1d5f7483e35b98be5ff /configure.ac | |
parent | adb958849491ea7e0bba4a15896ebd41a0fbff2d (diff) | |
parent | 4264e7a6edb651793ef751723537767656a89e44 (diff) | |
download | monitoring-plugins-53e6f2970dcbabd41d55d87b2e7623a86fe48ec9.tar.gz |
Merge branch 'upstream' into check_curl
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
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 | ||
1103 | elif $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 | ||
1105 | then | ||
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]) | ||
1103 | elif $PATH_TO_PING -n -U -w 10 -c 1 127.0.0.1 2>/dev/null | \ | 1111 | elif $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 |
1105 | then | 1113 | then |