]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix "unrecognized value for USE_LIBNETFILTERCONNTRACK: 'auto'"
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 12 Jan 2011 12:54:10 +0000 (01:54 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 12 Jan 2011 12:54:10 +0000 (01:54 +1300)
Thanks to Andrew Beverly.

configure.ac

index 12176f188ce5c26fa8531489b9b3c2e1d3cc9afd..085ddf4812600f20e9dd5909b923daa0a696df4f 100644 (file)
@@ -1377,6 +1377,10 @@ if test "x$with_netfilter_conntrack" != "xno"; then
             AC_MSG_ERROR([--with-netfilter-conntrack specified but libnetfilter-conntrack headers not found])
         fi
         with_netfilter_conntrack=no])
+  # If nothing is broken; enable the libraries usage.
+  if test "x$with_netfilter_conntrack" != "xno"; then
+    with_netfilter_conntrack=yes
+  fi
 fi
 AC_MSG_NOTICE([Linux Netfilter Conntrack support enabled: ${with_netfilter_conntrack} ${squid_opt_netfilterconntrackpath}])