summaryrefslogtreecommitdiffstats
path: root/modules/ldap
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-06-04 15:31:49 +0200
committerStefan Fritsch <sf@apache.org>2011-06-04 15:31:49 +0200
commitec64e1a29f3400bf9b61231f2ff5c32e9e0ba956 (patch)
treed936e6aee4345803787271b01530cecbeb5e6337 /modules/ldap
parentPR51307: Fix ldap_rebind build error when ldap is enabled and APR is built wi... (diff)
downloadapache2-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/ldap')
-rw-r--r--modules/ldap/config.m47
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)
])