diff options
author | Stefan Fritsch <sf@apache.org> | 2011-06-04 13:31:49 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-06-04 13:31:49 +0000 |
commit | ec64e1a29f3400bf9b61231f2ff5c32e9e0ba956 (patch) | |
tree | d936e6aee4345803787271b01530cecbeb5e6337 /modules/ldap | |
parent | 02bbc3848ee15a6bbf135a52fa0c376d93fdb015 (diff) | |
download | httpd-ec64e1a29f3400bf9b61231f2ff5c32e9e0ba956.tar.gz |
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/ldap')
-rw-r--r-- | modules/ldap/config.m4 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/ldap/config.m4 b/modules/ldap/config.m4 index 014560dbbd..170adb64cc 100644 --- a/modules/ldap/config.m4 +++ b/modules/ldap/config.m4 @@ -14,11 +14,10 @@ ap_ldap_url.lo dnl " APACHE_MODULE(ldap, LDAP caching and connection pooling services, $ldap_objects, , no, [ - AP_FIND_LDAP - if test -z "$apu_config" ; then - MOD_LDAP_LDADD="$LDADD_ldap" + if test "$ap_has_ldap" = "1" ; then + MOD_LDAP_LDADD="$LDADD_ldap" else - MOD_LDAP_LDADD="$LDADD_ldap" + enable_ldap=no fi AC_SUBST(MOD_LDAP_LDADD) ]) |