1 2dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]]) 3 4APACHE_MODPATH_INIT(ldap) 5 6ldap_objects="util_ldap.lo util_ldap_cache.lo util_ldap_cache_mgr.lo" 7APACHE_MODULE(ldap, LDAP caching and connection pooling services, $ldap_objects, , most , [ 8 APACHE_CHECK_APR_HAS_LDAP 9 if test "$ac_cv_APR_HAS_LDAP" = "yes" ; then 10 if test -z "$apu_config" ; then 11 LDAP_LIBS="`$apr_config --ldap-libs`" 12 else 13 LDAP_LIBS="`$apu_config --ldap-libs`" 14 fi 15 APR_ADDTO(MOD_LDAP_LDADD, [$LDAP_LIBS]) 16 AC_SUBST(MOD_LDAP_LDADD) 17 else 18 AC_MSG_WARN([apr/apr-util is compiled without ldap support]) 19 enable_ldap=no 20 fi 21]) 22 23APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current]) 24 25APACHE_MODPATH_FINISH 26