mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
Fix --enable-spasswd logic
This commit is contained in:
parent
3d47cb33c1
commit
eaae21b834
@ -394,7 +394,7 @@ if test $ol_enable_spasswd = yes ; then
|
|||||||
if test $ol_with_cyrus_sasl = no ; then
|
if test $ol_with_cyrus_sasl = no ; then
|
||||||
AC_MSG_ERROR([options require --with-cyrus-sasl])
|
AC_MSG_ERROR([options require --with-cyrus-sasl])
|
||||||
fi
|
fi
|
||||||
ol_link_spasswd=yes
|
ol_with_cyrus_sasl=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_RESULT(done)
|
AC_MSG_RESULT(done)
|
||||||
@ -1911,7 +1911,11 @@ if test $ol_with_cyrus_sasl != no ; then
|
|||||||
AC_MSG_WARN([Strong authentication not supported!])
|
AC_MSG_WARN([Strong authentication not supported!])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
elif test $ol_enable_spasswd != no ; then
|
||||||
|
ol_link_spasswd=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
AC_MSG_WARN([SASL authentication not supported!])
|
AC_MSG_WARN([SASL authentication not supported!])
|
||||||
if test $ol_link_tls = no ; then
|
if test $ol_link_tls = no ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user