mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-16 09:09:07 -05:00
have --enable-dns imply --enable-referrals. If --disable-referrals, error.
This commit is contained in:
parent
ba0c0e022c
commit
300a242432
2 changed files with 425 additions and 419 deletions
11
configure.in
11
configure.in
|
|
@ -99,11 +99,14 @@ AM_ENABLE_SHARED
|
|||
|
||||
dnl General "enable" options
|
||||
# validate options
|
||||
if test $ol_enable_referrals = no ; then
|
||||
if test $ol_enable_dns = yes ; then
|
||||
AC_MSG_WARN([dns disabled, ignoring --enable-dns argument])
|
||||
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
|
||||
ol_enable_dns=no
|
||||
fi
|
||||
|
||||
if test $ol_enable_slapd = no ; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue