From: Matthias Bolte Date: Mon, 21 Dec 2009 17:58:09 +0000 (+0100) Subject: Fix configure check for SASL X-Git-Tag: v0.7.5~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=156e36a23860e05a8c07ad08536d1ff799b5f049;p=thirdparty%2Flibvirt.git 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. --- diff --git a/configure.in b/configure.in index a86b8cabea..c4011118d2 100644 --- a/configure.in +++ b/configure.in @@ -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