[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.1.1.1,1.2

Ethan Galstad egalstad at users.sourceforge.net
Wed Apr 17 21:39:08 CEST 2002


Update of /cvsroot/nagiosplug/nagiosplug
In directory usw-pr-cvs1:/tmp/cvs-serv5273

Modified Files:
	configure.in 
Log Message:
configure script patch for ping syntax

Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** configure.in	28 Feb 2002 06:42:53 -0000	1.1.1.1
--- configure.in	18 Apr 2002 04:38:46 -0000	1.2
***************
*** 555,590 ****
  		AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND")
  	fi
! elif [ping -n -U -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip" >/dev/null]
  then
          PING_COMMAND="$PATH_TO_PING -n -U -c %d %s"
          AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND")
          echo "      ping syntax... $PATH_TO_PING -n -U -c <count> <host>"
! elif [ping -n -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -c %d %s"
  	AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND")
  	echo "      ping syntax... $PATH_TO_PING -n -c <count> <host>"
! elif [ping -n 127.0.0.1 -c 1 2>/dev/null | egrep -i "^round-trip" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n %s -c %d"
  	echo "      ping syntax... $PATH_TO_PING -n <host> -c <count>"
! elif [ping 127.0.0.1 -n 1 2>/dev/null | egrep -i "^round-trip" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING %s -n %d"
  	echo "      ping syntax... $PATH_TO_PING <host> -n <count>"
! elif [ping -n -s 127.0.0.1 56 1 2>/dev/null | egrep -i "^round-trip" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -s %s 56 %d"
  	echo "      ping syntax... $PATH_TO_PING -n -s <host> 56 <count>"
! elif [ping -n -h 127.0.0.1 -s 56 -c 1 2>/dev/null | egrep -i "^round-trip" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -h %s -s 56 -c %d"
  	echo "      ping syntax... $PATH_TO_PING -n -h <host> -s 56 -c <count>"
! elif [ping -n -s 56 -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -s 56 -c %d %s"
  	AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND")
  	echo "      ping syntax... $PATH_TO_PING -n -s 56 -c <count> <host>"
! elif [ping -n -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -c %d %s"
--- 555,590 ----
  		AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND")
  	fi
! elif [ping -n -U -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null]
  then
          PING_COMMAND="$PATH_TO_PING -n -U -c %d %s"
          AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND")
          echo "      ping syntax... $PATH_TO_PING -n -U -c <count> <host>"
! elif [ping -n -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -c %d %s"
  	AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND")
  	echo "      ping syntax... $PATH_TO_PING -n -c <count> <host>"
! elif [ping -n 127.0.0.1 -c 1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n %s -c %d"
  	echo "      ping syntax... $PATH_TO_PING -n <host> -c <count>"
! elif [ping 127.0.0.1 -n 1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING %s -n %d"
  	echo "      ping syntax... $PATH_TO_PING <host> -n <count>"
! elif [ping -n -s 127.0.0.1 56 1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -s %s 56 %d"
  	echo "      ping syntax... $PATH_TO_PING -n -s <host> 56 <count>"
! elif [ping -n -h 127.0.0.1 -s 56 -c 1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -h %s -s 56 -c %d"
  	echo "      ping syntax... $PATH_TO_PING -n -h <host> -s 56 -c <count>"
! elif [ping -n -s 56 -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -s 56 -c %d %s"
  	AC_DEFINE_UNQUOTED(PING_PACKETS_FIRST,"$PING_COMMAND")
  	echo "      ping syntax... $PATH_TO_PING -n -s 56 -c <count> <host>"
! elif [ping -n -c 1 127.0.0.1 2>/dev/null | egrep -i "^round-trip|^rtt" >/dev/null]
  then
  	PING_COMMAND="$PATH_TO_PING -n -c %d %s"





More information about the Commits mailing list