diff options
author | Ruediger Pluem <rpluem@apache.org> | 2009-03-28 22:26:50 +0100 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2009-03-28 22:26:50 +0100 |
commit | f76abc0cb4d3c871cfb7b09746d1f30d7709fa5a (patch) | |
tree | 4bf88cefec42a1813f8f3a72f29263d5e02aa9c0 /modules/ldap/config.m4 | |
parent | Query the mpm state and clear the running flag if mpm is stopping. (diff) | |
download | apache2-f76abc0cb4d3c871cfb7b09746d1f30d7709fa5a.tar.xz apache2-f76abc0cb4d3c871cfb7b09746d1f30d7709fa5a.zip |
* Make LDAP working with APR 2.0 again by using apr-config instead of
apu-config which is gone in APR 2.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759594 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ldap/config.m4')
-rw-r--r-- | modules/ldap/config.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/ldap/config.m4 b/modules/ldap/config.m4 index 5625280304..2f0bbf9e39 100644 --- a/modules/ldap/config.m4 +++ b/modules/ldap/config.m4 @@ -5,7 +5,11 @@ APACHE_MODPATH_INIT(ldap) ldap_objects="util_ldap.lo util_ldap_cache.lo util_ldap_cache_mgr.lo" APACHE_MODULE(ldap, LDAP caching and connection pooling services, $ldap_objects, , no, [ - MOD_LDAP_LDADD="`$apu_config --ldap-libs`" + if test -z "$apu_config" ; then + MOD_LDAP_LDADD="`$apr_config --ldap-libs`" + else + MOD_LDAP_LDADD="`$apu_config --ldap-libs`" + fi AC_SUBST(MOD_LDAP_LDADD) ]) |