]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
added configure.in stuff for autoheader to build the appropriate #defines
authorFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 16 Oct 2008 04:19:15 +0000 (06:19 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 16 Oct 2008 04:19:15 +0000 (06:19 +0200)
configure.in

index 63e65b7ea745006f737c5ac84d4b6ba96095bb17..8aadb737a315c984ddda2f023591417afa5bfece 100755 (executable)
@@ -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"