mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Fix configure check for SASL
The option --with-sasl defaults to 'check', but an inverted test logic lets the SASL check fail with an error instead of disabling SASL. Fix the test logic so SASL support gets disabled if SASL is missing and --with-sasl is set to check.
This commit is contained in:
parent
cf30da7a25
commit
156e36a238
@ -613,7 +613,7 @@ if test "x$with_sasl" != "xno"; then
|
||||
CFLAGS="$CFLAGS $SASL_CFLAGS"
|
||||
LIBS="$LIBS $SASL_LIBS"
|
||||
AC_CHECK_HEADER([sasl/sasl.h],[],[
|
||||
if test "x$with_sasl" != "xcheck" ; then
|
||||
if test "x$with_sasl" = "xcheck" ; then
|
||||
with_sasl=no
|
||||
else
|
||||
fail=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user