dnl modules in one, so as to share the LDAP server config directives.
APACHE_MODULE(authnz_ldap, LDAP based authentication, , , no, [
if test -z "$apu_config" ; then
- MOD_AUTHNZ_LDAP_LDADD="`$apr_config --ldap-libs`"
+ LDAP_LIBS="`$apr_config --ldap-libs`"
else
- MOD_AUTHNZ_LDAP_LDADD="`$apu_config --ldap-libs`"
+ LDAP_LIBS="`$apu_config --ldap-libs`"
fi
+ APR_ADDTO(MOD_AUTHNZ_LDAP_LDADD, [$LDAP_LIBS])
AC_SUBST(MOD_AUTHNZ_LDAP_LDADD)
])
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, [
if test -z "$apu_config" ; then
- MOD_LDAP_LDADD="`$apr_config --ldap-libs`"
+ LDAP_LIBS="`$apr_config --ldap-libs`"
else
- MOD_LDAP_LDADD="`$apu_config --ldap-libs`"
+ LDAP_LIBS="`$apu_config --ldap-libs`"
fi
+ APR_ADDTO(MOD_LDAP_LDADD, [$LDAP_LIBS])
AC_SUBST(MOD_LDAP_LDADD)
])