OL_ARG_ENABLE(syslog,[ --enable-syslog enable syslog support], auto)dnl
OL_ARG_ENABLE(proctitle,[ --enable-proctitle enable proctitle support], yes)dnl
OL_ARG_ENABLE(cache,[ --enable-cache enable caching], yes)dnl
-OL_ARG_ENABLE(dns,[ --enable-dns enable V2 DX Referrals extension], no)dnl
OL_ARG_ENABLE(referrals,[ --enable-referrals enable V2 Referrals extension], yes)dnl
OL_ARG_ENABLE(kbind,[ --enable-kbind enable V2 Kerberos IV bind], auto)dnl
OL_ARG_ENABLE(cldap,[ --enable-cldap enable connectionless ldap], no)dnl
dnl ----------------------------------------------------------------
dnl General "with" options
-OL_ARG_ENABLE(dmalloc,[ --enable-dmalloc enable debug malloc support], no)dnl
+dnl OL_ARG_ENABLE(dmalloc,[ --enable-dmalloc enable debug malloc support], no)dnl
OL_ARG_WITH(cyrus_sasl,[ --with-cyrus-sasl with Cyrus SASL support],
auto, [auto yes no] )
dnl ----------------------------------------------------------------
dnl Server options
dnl ----------------------------------------------------------------
-dnl LDAPD OPTIONS
-AC_ARG_WITH(xxldapdoptions,[LDAPD (X.500-to-LDAP Gateway) Options:])
-OL_ARG_ENABLE(ldapd,[ --enable-ldapd enable building ldapd], no)dnl
dnl ----------------------------------------------------------------
dnl SLAPD OPTIONS
dnl General "enable" options
# validate options
-if test $ol_enable_dns = yes ; then
- if test $ol_enable_referrals = no ; then
- AC_MSG_ERROR([DNS requires --enable-referrals])
- fi
- if test $ol_enable_referrals = auto ; then
- AC_MSG_WARN([DNS requires referrals, adding --enable-referrals])
- ol_enable_referrals=yes
- fi
-fi
-
if test $ol_enable_slapd = no ; then
dnl SLAPD was specificallly disabled
if test $ol_enable_bdb2 = yes ; then
LTHREAD_LIBS=
LUTIL_LIBS=
-LDAPD_LIBS=
+QUIPU_LIBS=
SLAPD_LIBS=
SLURPD_LIBS=
-BUILD_LDAPD=no
BUILD_SLAPD=no
BUILD_SLURPD=no
if test "$ac_cv_func_res_search" = yes ; then
AC_DEFINE(HAVE_RES_SEARCH,1,
[define if you have res_search()])
-elif test $ol_enable_dns = yes ; then
- AC_MSG_ERROR([--enable-dns requires res_search])
-elif test $ol_enable_dns != no ; then
- AC_MSG_WARN([no res_search, disabling DNS support])
fi
-dnl ----------------------------------------------------------------
-dnl ISODE tests
-ol_link_isode=no
-if test $ol_enable_ldapd != no ; then
- AC_MSG_WARN([ldapd is not supported and may suffer from bit rot.])
-
- dnl look for ISODE libraries
- AC_CHECK_LIB(xtpp, main, [
- ol_link_isode=yes
- AC_DEFINE(HAVE_XTPP,1, [define if you have -lxttp])
- LDAPD_LIBS="$LDAPD_LIBS -lxtpp -lxtdsap -lxtisode -losi"
- ],:,[-lxtdsap -lxtisode -losi])
- AC_CHECK_LIB(dsap, main, [
- ol_link_isode=yes
- AC_DEFINE(HAVE_DSAP,1, [define if you have -ldsap])
- LDAPD_LIBS="$LDAPD_LIBS -ldsap"
- ],:,[-lisode])
- AC_CHECK_LIB(isode, main, [
- ol_link_isode=yes
- AC_DEFINE(HAVE_ISODE,1, [define if you have -lisode])
- LDAPD_LIBS="$LDAPD_LIBS -lisode"
- ],:)
-fi
-
-if test $ol_link_isode != no; then
- AC_CHECK_LIB(pp, main, [
- AC_DEFINE(HAVE_PP,1, [define if you have -lpp])
- LDAPD_LIBS="-lpp $LDAPD_LIBS"
- ],:)
-
- AC_PATH_PROG(PEPSY, pepsy)
-fi
-
dnl ----------------------------------------------------------------
dnl QUIPU
if test $ol_enable_quipu != no ; then
fi
fi
-exit
-
if test $ol_link_ldbm = no -a $ol_with_ldbm_type = btree ; then
AC_MSG_WARN(Could not find LDBM with BTREE support)
ol_with_ldbm_api=none
fi
dnl ----------------------------------------------------------------
-if test $ol_enable_dmalloc != no ; then
- AC_CHECK_HEADERS(dmalloc.h)
- AC_CHECK_LIB(dmalloc, dmalloc_shutdown)
-fi
-
+dnl dmalloc support (deprecated in favor of -DCSRIMALLOC support)
+dnl if test $ol_enable_dmalloc != no ; then
+dnl AC_CHECK_HEADERS(dmalloc.h)
+dnl AC_CHECK_LIB(dmalloc, dmalloc_shutdown)
+dnl fi
dnl ----------------------------------------------------------------
dnl TCL
if test $ol_enable_tcl != no ; then
if test "$ol_link_kbind" != no ; then
AC_DEFINE(LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND,LDAP_VENDOR_VERSION)
fi
-if test "$ol_enable_dns" != no ; then
- AC_DEFINE(LDAP_API_FEATURE_X_OPENLDAP_V2_DNS,LDAP_VENDOR_VERSION)
-fi
if test "$ol_enable_proctitle" != no ; then
AC_DEFINE(LDAP_PROCTITLE,1,
[define this for LDAP process title support])
BUILD_SLURPD=yes
fi
-if test "$ol_link_isode" != no ; then
- BUILD_LDAPD=yes
-fi
-
dnl ----------------------------------------------------------------
if test "$LINK_BINS_DYNAMIC" = yes; then
AC_SUBST(LT_LIB_LINKAGE)
AC_SUBST(DYN_EXT)
-AC_SUBST(BUILD_LDAPD)
AC_SUBST(BUILD_SLAPD)
AC_SUBST(BUILD_BDB2)
AC_SUBST(BUILD_DNSSRV)
AC_SUBST(BUILD_SLURPD)
AC_SUBST(LDAP_LIBS)
-AC_SUBST(LDAPD_LIBS)
AC_SUBST(LDIF_LIBS)
AC_SUBST(SLAPD_LIBS)
+AC_SUBST(QUIPU_LIBS)
AC_SUBST(SLURPD_LIBS)
AC_SUBST(LDBM_LIBS)
AC_SUBST(LTHREAD_LIBS)
libraries/liblunicode/Makefile:build/top.mk:libraries/liblunicode/Makefile.in:build/lib.mk:build/lib-static.mk \
libraries/liblutil/Makefile:build/top.mk:libraries/liblutil/Makefile.in:build/lib.mk:build/lib-static.mk \
servers/Makefile:build/top.mk:servers/Makefile.in:build/dir.mk \
-servers/ldapd/Makefile:build/top.mk:servers/ldapd/Makefile.in:build/srv.mk \
servers/slapd/Makefile:build/top.mk:servers/slapd/Makefile.in:build/srv.mk \
servers/slapd/back-bdb2/Makefile:build/top.mk:servers/slapd/back-bdb2/Makefile.in:build/mod.mk \
servers/slapd/back-dnssrv/Makefile:build/top.mk:servers/slapd/back-dnssrv/Makefile.in:build/mod.mk \