Просмотр исходного кода

Added check to avoid delay when checking for IPv6 ping syntax

John C. Frickson 9 лет назад
Родитель
Сommit
80217b7a9b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -1181,7 +1181,7 @@ AC_ARG_WITH(ping6_command,
 		[sets syntax for ICMPv6 ping]),
 	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_cv_ping6_packets_first=no
 if test -n "$with_ping6_command"