diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-04-19 00:09:18 (GMT) |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-04-19 00:09:18 (GMT) |
commit | 784e5b9594e2755c7eb601af3369009b9f0e612f (patch) | |
tree | 9ff8b9d5f6b0eda6e719f2ef555512216adb38f9 /configure.in | |
parent | ea75bd95d36bb46f4432b18c890206f972c1cfa3 (diff) | |
download | monitoring-plugins-784e5b9594e2755c7eb601af3369009b9f0e612f.tar.gz |
check for the -w flag for ping6 as well as ping
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1165 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index e2c79af..65c7b31 100644 --- a/configure.in +++ b/configure.in | |||
@@ -957,6 +957,14 @@ elif test "x$PATH_TO_PING6" != "x"; then | |||
957 | ac_cv_ping6_packets_first=yes | 957 | ac_cv_ping6_packets_first=yes |
958 | AC_MSG_RESULT([$with_ping6_command]) | 958 | AC_MSG_RESULT([$with_ping6_command]) |
959 | 959 | ||
960 | elif $PATH_TO_PING6 -n -U -w 10 -c 1 ::1 2>/dev/null | \ | ||
961 | egrep -i "^round-trip|^rtt" >/dev/null | ||
962 | then | ||
963 | with_ping6_command="$PATH_TO_PING6 -n -U -w %d -c %d %s" | ||
964 | ac_cv_ping6_packets_first=yes | ||
965 | ac_cv_ping_has_timeout=yes | ||
966 | AC_MSG_RESULT([$with_ping6_command]) | ||
967 | |||
960 | elif $PATH_TO_PING6 -n -U -c 1 ::1 2>/dev/null | \ | 968 | elif $PATH_TO_PING6 -n -U -c 1 ::1 2>/dev/null | \ |
961 | egrep -i "^round-trip|^rtt" >/dev/null | 969 | egrep -i "^round-trip|^rtt" >/dev/null |
962 | then | 970 | then |