Commit 5144fba8 authored by Ryan Tandy's avatar Ryan Tandy Committed by Ryan Tandy
Browse files

ITS#8224 Simplify slapd minimal built-in backend check

--enable-slapd=auto is now implicitly handled the same as =yes.
parent a2882e5e
...@@ -441,30 +441,22 @@ if test $ol_enable_slapd = no ; then ...@@ -441,30 +441,22 @@ if test $ol_enable_slapd = no ; then
eval "ol_enable_$i=no" eval "ol_enable_$i=no"
fi fi
done done
else
dnl If slapd enabled and loadable module support disabled
dnl then require at least one built-in backend
if test $ol_enable_modules != yes; then
ol_any_backend=no
for i in $Backends; do
eval "ol_tmp=\$ol_enable_$i"
if test $ol_tmp = yes; then
ol_any_backend=yes
fi
done
elif test $ol_enable_modules != yes && if test $ol_any_backend = no; then
test $ol_enable_dnssrv = no && AC_MSG_ERROR([slapd requires a backend])
test $ol_enable_ldap = no && fi
test $ol_enable_mdb = no &&
test $ol_enable_meta = no &&
test $ol_enable_asyncmeta = no &&
test $ol_enable_monitor = no &&
test $ol_enable_ndb = no &&
test $ol_enable_null = no &&
test $ol_enable_passwd = no &&
test $ol_enable_perl = no &&
test $ol_enable_relay = no &&
test $ol_enable_shell = no &&
test $ol_enable_sock = no &&
test $ol_enable_sql = no &&
test $ol_enable_wt = no ; then
dnl no slapd backend
if test $ol_enable_slapd = yes ; then
AC_MSG_ERROR([slapd requires a backend])
else
AC_MSG_WARN([skipping slapd, no backend specified])
ol_enable_slapd=no
fi fi
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment