Fix inverted conditional test in configure.ac check for yajl

* configure.in: Fix inverted conditional test when yajl is not
  found
This commit is contained in:
Daniel P. Berrange 2009-12-07 16:51:14 +00:00
parent 9428f2ced6
commit 6e547d54e5

View 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