Selaa lähdekoodia

Added check to avoid delay when checking for IPv6 ping syntax

John C. Frickson 9 vuotta sitten
vanhempi
commit
80217b7a9b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -1181,7 +1181,7 @@ AC_ARG_WITH(ping6_command,
 		[sets syntax for ICMPv6 ping]),
 		[sets syntax for ICMPv6 ping]),
 	with_ping6_command=$withval,)
 	with_ping6_command=$withval,)
 
 
-if test x"$with_ipv6" != xno ; then
+if test x"$with_ipv6" != xno -a x"$with_ping6_command" != xno ; then
 AC_MSG_CHECKING(for ICMPv6 ping syntax)
 AC_MSG_CHECKING(for ICMPv6 ping syntax)
 ac_cv_ping6_packets_first=no
 ac_cv_ping6_packets_first=no
 if test -n "$with_ping6_command"
 if test -n "$with_ping6_command"