]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix inverted conditional test in configure.ac check for yajl
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 7 Dec 2009 16:51:14 +0000 (16:51 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 7 Dec 2009 16:51:14 +0000 (16:51 +0000)
* configure.in: Fix inverted conditional test when yajl is not
  found

configure.in

index 41f50fcff8d09c6319ed238bf3dd77db11ae15d7..68947dd8bf03987f74ad23a24c2ffedefd48c6ac 100644 (file)
@@ -664,7 +664,7 @@ if test "x$with_yajl" != "xno"; then
   CPPFLAGS="$CPPFLAGS $YAJL_CFLAGS"
   LDFLAGS="$LDFLAGS $YAJL_LIBS"
   AC_CHECK_HEADER([yajl/yajl_common.h],[],[
-    if test "x$with_yajl" != "xcheck" ; then
+    if test "x$with_yajl" = "xcheck" ; then
         with_yajl=no
     else
         fail=1