diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.in b/configure.in index b2df7830..e7af9018 100644 --- a/configure.in +++ b/configure.in | |||
@@ -554,38 +554,38 @@ then | |||
554 | then | 554 | then |
555 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") | 555 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") |
556 | fi | 556 | fi |
557 | elif [ping -n -U -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip" >/dev/null] | 557 | elif [ping -n -U -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null] |
558 | then | 558 | then |
559 | PING_COMMAND="$PATH_TO_PING -n -U -c %d %s" | 559 | PING_COMMAND="$PATH_TO_PING -n -U -c %d %s" |
560 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") | 560 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") |
561 | echo " ping syntax... $PATH_TO_PING -n -U -c <count> <host>" | 561 | echo " ping syntax... $PATH_TO_PING -n -U -c <count> <host>" |
562 | elif [ping -n -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip" >/dev/null] | 562 | elif [ping -n -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null] |
563 | then | 563 | then |
564 | PING_COMMAND="$PATH_TO_PING -n -c %d %s" | 564 | PING_COMMAND="$PATH_TO_PING -n -c %d %s" |
565 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") | 565 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") |
566 | echo " ping syntax... $PATH_TO_PING -n -c <count> <host>" | 566 | echo " ping syntax... $PATH_TO_PING -n -c <count> <host>" |
567 | elif [ping -n 127.0.0.1 -c 1 2>/dev/null | egrep -i "^round-trip" >/dev/null] | 567 | elif [ping -n 127.0.0.1 -c 1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null] |
568 | then | 568 | then |
569 | PING_COMMAND="$PATH_TO_PING -n %s -c %d" | 569 | PING_COMMAND="$PATH_TO_PING -n %s -c %d" |
570 | echo " ping syntax... $PATH_TO_PING -n <host> -c <count>" | 570 | echo " ping syntax... $PATH_TO_PING -n <host> -c <count>" |
571 | elif [ping 127.0.0.1 -n 1 2>/dev/null | egrep -i "^round-trip" >/dev/null] | 571 | elif [ping 127.0.0.1 -n 1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null] |
572 | then | 572 | then |
573 | PING_COMMAND="$PATH_TO_PING %s -n %d" | 573 | PING_COMMAND="$PATH_TO_PING %s -n %d" |
574 | echo " ping syntax... $PATH_TO_PING <host> -n <count>" | 574 | echo " ping syntax... $PATH_TO_PING <host> -n <count>" |
575 | elif [ping -n -s 127.0.0.1 56 1 2>/dev/null | egrep -i "^round-trip" >/dev/null] | 575 | elif [ping -n -s 127.0.0.1 56 1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null] |
576 | then | 576 | then |
577 | PING_COMMAND="$PATH_TO_PING -n -s %s 56 %d" | 577 | PING_COMMAND="$PATH_TO_PING -n -s %s 56 %d" |
578 | echo " ping syntax... $PATH_TO_PING -n -s <host> 56 <count>" | 578 | echo " ping syntax... $PATH_TO_PING -n -s <host> 56 <count>" |
579 | elif [ping -n -h 127.0.0.1 -s 56 -c 1 2>/dev/null | egrep -i "^round-trip" >/dev/null] | 579 | elif [ping -n -h 127.0.0.1 -s 56 -c 1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null] |
580 | then | 580 | then |
581 | PING_COMMAND="$PATH_TO_PING -n -h %s -s 56 -c %d" | 581 | PING_COMMAND="$PATH_TO_PING -n -h %s -s 56 -c %d" |
582 | echo " ping syntax... $PATH_TO_PING -n -h <host> -s 56 -c <count>" | 582 | echo " ping syntax... $PATH_TO_PING -n -h <host> -s 56 -c <count>" |
583 | elif [ping -n -s 56 -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip" >/dev/null] | 583 | elif [ping -n -s 56 -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null] |
584 | then | 584 | then |
585 | PING_COMMAND="$PATH_TO_PING -n -s 56 -c %d %s" | 585 | PING_COMMAND="$PATH_TO_PING -n -s 56 -c %d %s" |
586 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") | 586 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") |
587 | echo " ping syntax... $PATH_TO_PING -n -s 56 -c <count> <host>" | 587 | echo " ping syntax... $PATH_TO_PING -n -s 56 -c <count> <host>" |
588 | elif [ping -n -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip" >/dev/null] | 588 | elif [ping -n -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null] |
589 | then | 589 | then |
590 | PING_COMMAND="$PATH_TO_PING -n -c %d %s" | 590 | PING_COMMAND="$PATH_TO_PING -n -c %d %s" |
591 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") | 591 | AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND") |