Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
5144fba8
Commit
5144fba8
authored
Apr 18, 2020
by
Ryan Tandy
Committed by
Ryan Tandy
Apr 22, 2020
Browse files
ITS#8224 Simplify slapd minimal built-in backend check
--enable-slapd=auto is now implicitly handled the same as =yes.
parent
a2882e5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
5144fba8
...
...
@@ -441,30 +441,22 @@ if test $ol_enable_slapd = no ; then
eval "ol_enable_$i=no"
fi
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 &&
test $ol_enable_dnssrv = no &&
test $ol_enable_ldap = no &&
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
if test $ol_any_backend = no; then
AC_MSG_ERROR([slapd requires a backend])
fi
fi
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment