From: Francesco Chemolli Date: Fri, 28 May 2010 14:02:18 +0000 (+0200) Subject: Simplified handling of --disable-ident-lookups X-Git-Tag: take1~402^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c5dc16afa79761513a938b64e4b7cba6ab273bd;p=thirdparty%2Fsquid.git Simplified handling of --disable-ident-lookups --- diff --git a/configure.in b/configure.in index 3c10cbb2e4..6bcae6cf15 100644 --- a/configure.in +++ b/configure.in @@ -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,