]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make ENABLE_AUTH_* automake conditionals available
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Jun 2010 12:56:11 +0000 (00:56 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 30 Jun 2010 12:56:11 +0000 (00:56 +1200)
Pre-requisite for making the general code build obey --disable-auth-*

configure.in

index 1e6745bd4e25148e9f7ccf47bd71053fe43b6fd2..92a82cd8c971e625e75e6260030706ef85023533 100644 (file)
@@ -1536,6 +1536,7 @@ if test "$enable_auth_basic" != "no" ; then
     done
 fi
 AC_MSG_NOTICE([Basic auth helpers to be built: $BASIC_AUTH_HELPERS])
+AM_CONDITIONAL(ENABLE_AUTH_BASIC, test "$enable_auth_basic" != "no")
 AC_SUBST(BASIC_AUTH_HELPERS)
 
 AC_ARG_ENABLE(auth-ntlm,
@@ -1622,6 +1623,7 @@ if test "$enable_auth_negotiate" != "no" ; then
     done
 fi
 AC_MSG_NOTICE([Negotiate auth helpers built: $NEGOTIATE_AUTH_HELPERS])
+AM_CONDITIONAL(ENABLE_AUTH_NEGOTIATE, test "$enable_auth_negotiate" != "no")
 AC_SUBST(NEGOTIATE_AUTH_HELPERS)
 
 AC_ARG_ENABLE(auth-digest,
@@ -1664,6 +1666,7 @@ if test "$enable_auth_digest" != "no" ; then
     done
 fi
 AC_MSG_NOTICE([Digest auth helpers built: $DIGEST_AUTH_HELPERS])
+AM_CONDITIONAL(ENABLE_AUTH_DIGEST, test "$enable_auth_digest" != "no")
 AC_SUBST(DIGEST_AUTH_HELPERS)
 
 dnl Authentication libraries to build