From: Christos Tsantilas Date: Sat, 28 Mar 2009 08:52:55 +0000 (+0200) Subject: Imporing the AuthReg.cc file. This file is a hack to force required X-Git-Tag: SQUID_3_2_0_1~1093 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f07e9e1f462867fa2592b014394ba0d810d102b0;p=thirdparty%2Fsquid.git Imporing the AuthReg.cc file. This file is a hack to force required libraries and object files under the auth/* included in main squid executable. --- diff --git a/src/AuthReg.cc b/src/AuthReg.cc new file mode 100644 index 0000000000..dce94ec32f --- /dev/null +++ b/src/AuthReg.cc @@ -0,0 +1,35 @@ +#include "squid.h" + + +#ifdef HAVE_AUTH_MODULE_BASIC +#include "auth/basic/basicScheme.h" +#endif + +#ifdef HAVE_AUTH_MODULE_NTLM +#include "auth/ntlm/ntlmScheme.h" +#endif + +#ifdef HAVE_AUTH_MODULE_DIGEST +#include "auth/digest/digestScheme.h" +#endif + +#ifdef HAVE_AUTH_MODULE_NEGOTIATE +#include "auth/negotiate/negotiateScheme.h" +#endif + +#ifdef HAVE_AUTH_MODULE_BASIC +static const char *basic_type = basicScheme::GetInstance().type(); +#endif + +#ifdef HAVE_AUTH_MODULE_NTLM +static const char *ntlm_type = ntlmScheme::GetInstance().type(); +#endif + +#ifdef HAVE_AUTH_MODULE_DIGEST +static const char *digest_type = digestScheme::GetInstance().type(); +#endif + +#ifdef HAVE_AUTH_MODULE_NEGOTIATE +static const char *negotiate_type = negotiateScheme::GetInstance().type(); +#endif + diff --git a/src/Makefile.am b/src/Makefile.am index f5f2884650..21df03240a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -217,7 +217,7 @@ cf_gen_LDADD= \ cf_gen.$(OBJEXT): cf_gen_defines.h -ACL_REGISTRATION_SOURCES = AclRegs.cc +ACL_REGISTRATION_SOURCES = AclRegs.cc AuthReg.cc DISKIO_SOURCE = \ DiskIO/DiskIOModule.cc \