]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix broken --disable-ipv6
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 19 Jun 2011 13:49:39 +0000 (07:49 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 19 Jun 2011 13:49:39 +0000 (07:49 -0600)
Broken in the 3.1->3.2 autoconf naming convention update.

configure.ac

index 462aeb09cfd05865d6d5b414d2c0a097bde4b3d4..befe83fe68aba425446880d33e8e7820f23628a1 100644 (file)
@@ -2603,10 +2603,10 @@ AC_ARG_ENABLE(ipv6,
   AS_HELP_STRING([--disable-ipv6],[Disable IPv6 support. The default is to probe system capabilities on startup.]), [
 SQUID_YESNO([$enableval],[unrecognized argument to --disable-ipv6: $enableval])
 ])
-AC_MSG_RESULT(${use_ipng:=yes})
-SQUID_DEFINE_BOOL(USE_IPV6,$use_ipng,[Enable support for IPv6 ])
+AC_MSG_RESULT(${enable_ipv6:=yes})
+SQUID_DEFINE_BOOL(USE_IPV6,$enable_ipv6,[Enable support for IPv6 ])
 
-if test "x$use_ipng" = "xyes" ; then
+if test "x$enable_ipv6" = "xyes" ; then
   SQUID_CHECK_SIN6_LEN_IN_SAI
   SQUID_CHECK_SS_LEN_IN_SOCKADDR_STORAGE
   SQUID_CHECK_SIN_LEN_IN_SOCKADDR_IN