From: Francesco Chemolli Date: Thu, 16 Oct 2008 04:19:15 +0000 (+0200) Subject: added configure.in stuff for autoheader to build the appropriate #defines X-Git-Tag: SQUID_3_2_0_1~1396^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7762106d1a9a495dc035344c3c83a8ce2dda7722;p=thirdparty%2Fsquid.git added configure.in stuff for autoheader to build the appropriate #defines --- diff --git a/configure.in b/configure.in index 63e65b7ea7..8aadb737a3 100755 --- a/configure.in +++ b/configure.in @@ -1458,6 +1458,12 @@ AC_SUBST(AUTH_LIBS) AC_SUBST(AUTH_LINKOBJS) AC_SUBST(AUTH_OBJS) +dnl bundled auth modules, in order to have handy defines for the cppunit testsuite +test -n "$AUTH_MODULE_basic" && AC_DEFINE([HAVE_AUTH_MODULE_BASIC],1,[Basic auth module is built]) +test -n "$AUTH_MODULE_digest" && AC_DEFINE([HAVE_AUTH_MODULE_DIGEST],1,[Digest auth module is built]) +test -n "$AUTH_MODULE_ntlm" && AC_DEFINE([HAVE_AUTH_MODULE_NTLM],1,[NTLM auth module is built]) +test -n "$AUTH_MODULE_negotiate" && AC_DEFINE([HAVE_AUTH_MODULE_NEGOTIATE],1,[Negotiate auth module is built]) + dnl Select basic auth scheme helpers to build if test -n "$AUTH_MODULE_basic"; then BASIC_AUTH_HELPERS="all"