From: Howard Chu Date: Sat, 29 May 1999 03:44:46 +0000 (+0000) Subject: Fix --enable-ldap behavior for back-ldap X-Git-Tag: OPENLDAP_REL_ENG_2_BP~482 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=193ab59661df2dc95bdbf3ae2e03abd0e87cff2e;p=openldap Fix --enable-ldap behavior for back-ldap --- diff --git a/configure.in b/configure.in index c99f7a0fab..6b5a939267 100644 --- a/configure.in +++ b/configure.in @@ -136,6 +136,9 @@ if test $ol_enable_slapd = no ; then if test $ol_enable_bdb2 = yes ; then AC_MSG_WARN([slapd disabled, ignoring --enable_bdb2 argument]) fi + if test $ol_enable_ldap = yes ; then + AC_MSG_WARN([slapd disabled, ignoring --enable_ldap argument]) + fi if test $ol_enable_ldbm = yes ; then AC_MSG_WARN([slapd disabled, ignoring --enable_ldbm argument]) fi @@ -178,6 +181,7 @@ if test $ol_enable_slapd = no ; then # force settings to no ol_enable_bdb2=no + ol_enable_ldap=no ol_enable_ldbm=no ol_enable_passwd=no ol_enable_perl=no @@ -211,6 +215,7 @@ elif test $ol_enable_ldbm = no ; then fi if test $ol_enable_modules != yes -a \ + $ol_enable_ldap = no -a \ $ol_enable_passwd = no -a \ $ol_enable_perl = no -a \ $ol_enable_shell = no -a \ @@ -1663,7 +1668,7 @@ if test "$ol_link_bdb2" != no ; then BUILD_BDB2=yes fi -if test "$ol_link_ldap" != no ; then +if test "$ol_enable_ldap" != no ; then AC_DEFINE(SLAPD_LDAP,1) BUILD_SLAPD=yes BUILD_LDAP=yes