diff options
author | Stefan Fritsch <sf@apache.org> | 2011-06-04 15:31:49 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-06-04 15:31:49 +0200 |
commit | ec64e1a29f3400bf9b61231f2ff5c32e9e0ba956 (patch) | |
tree | d936e6aee4345803787271b01530cecbeb5e6337 /modules/aaa | |
parent | PR51307: Fix ldap_rebind build error when ldap is enabled and APR is built wi... (diff) | |
download | apache2-ec64e1a29f3400bf9b61231f2ff5c32e9e0ba956.tar.xz apache2-ec64e1a29f3400bf9b61231f2ff5c32e9e0ba956.zip |
Several fixes for the ap_ldap build logic. This should fix compilation
without --with-ldap.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1131393 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa')
-rw-r--r-- | modules/aaa/config.m4 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/aaa/config.m4 b/modules/aaa/config.m4 index d2041dd7b0..a7f653bfa5 100644 --- a/modules/aaa/config.m4 +++ b/modules/aaa/config.m4 @@ -39,12 +39,11 @@ APACHE_MODULE(authz_core, core authorization provider vector module, , , yes) dnl LDAP authentication module. This module has both the authn and authz dnl modules in one, so as to share the LDAP server config directives. -dnl XXX FIXME APACHE_MODULE(authnz_ldap, LDAP based authentication, , , no, [ - if test -z "$apu_config" ; then - MOD_AUTHNZ_LDAP_LDADD="$LDADD_ldap" + if test "$ap_has_ldap" = "1" ; then + MOD_AUTHNZ_LDAP_LDADD="$LDADD_ldap" else - MOD_AUTHNZ_LDAP_LDADD="$LDADD_ldap" + enable_authnz_ldap=no fi AC_SUBST(MOD_AUTHNZ_LDAP_LDADD) ]) |