]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix configure check for SASL
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 21 Dec 2009 17:58:09 +0000 (18:58 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 22 Dec 2009 12:04:50 +0000 (13:04 +0100)
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.

configure.in

index a86b8cabeaf996bc1c096b6d2f4c7d542a8e1bb0..c4011118d2f260176f45e4624ae17ec4a6b1b0cc 100644 (file)
@@ -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