]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Simplified handling of --disable-ident-lookups
authorFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 28 May 2010 14:02:18 +0000 (16:02 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Fri, 28 May 2010 14:02:18 +0000 (16:02 +0200)
configure.in

index 3c10cbb2e42b8513dc68f930f4f83ebba69defa7..6bcae6cf152557623246a146e3a245a7f3702cc8 100644 (file)
@@ -1429,15 +1429,13 @@ AC_MSG_NOTICE([Support for X-Forwarded-For enabled: ${enable_follow_x_forwarded_
 SQUID_DEFINE_BOOL([FOLLOW_X_FORWARDED_FOR],$enable_follow_x_forwarded_for,
   [Enable following X-Forwarded-For headers])
 
-squid_opt_use_ident="yes"
 AC_ARG_ENABLE(ident-lookups,
   AS_HELP_STRING([--disable-ident-lookups],
                  [Remove code that supports performing Ident (RFC 931) lookups.]), [
   SQUID_YESNO([$enableval],[unrecognized argument to --disable-ident-lookups: $enableval])
-  squid_opt_use_ident=$enableval
 ])
-AC_MSG_NOTICE([Support for Ident lookups enabled: $squid_opt_use_ident])
-SQUID_DEFINE_BOOL(USE_IDENT,$squid_opt_use_ident,[Support for Ident (RFC 931) lookups])
+AC_MSG_NOTICE([Support for Ident lookups enabled: ${enable_ident_lookups:=yes}])
+SQUID_DEFINE_BOOL(USE_IDENT,$enable_ident_lookups,[Support for Ident (RFC 931) lookups])
 
 squid_opt_use_dnsserver="no"
 AH_TEMPLATE(USE_DNSSERVERS,