From 4d9a14fc751979caa9e62bb1f9183ba9d884eedb Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 29 Nov 2014 12:01:48 +0000 Subject: [PATCH] configure: Require yajl >= 2.0.4 (RHBZ#1169045). Earlier versions fail to parse integers from 'qemu-img info' output correctly, resulting in bugs like https://bugzilla.redhat.com/show_bug.cgi?id=1169045 Thanks: muued @ IRC --- README | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 30e241a6a..fc88eb97b 100644 --- a/README +++ b/README @@ -148,7 +148,7 @@ The full requirements are described below. +--------------+-------------+---+-----------------------------------------+ | sd-journal | | O | systemd journal library | +--------------+-------------+---+-----------------------------------------+ -| yajl | 2 | O | JSON parser for parsing output of | +| yajl | 2.0.4 | O | JSON parser for parsing output of | | | | | ldmtool and qemu-img info commands. | +--------------+-------------+---+-----------------------------------------+ | gdisk | | O | GPT disk support. | diff --git a/configure.ac b/configure.ac index aa2da0c6c..0b34ae3cf 100644 --- a/configure.ac +++ b/configure.ac @@ -1036,7 +1036,7 @@ AS_IF([test "x$enable_fuse" != "xno"],[ AM_CONDITIONAL([HAVE_FUSE],[test "x$enable_fuse" != "xno"]) dnl Check for yajl JSON library (optional). -PKG_CHECK_MODULES([YAJL], [yajl >= 2], [ +PKG_CHECK_MODULES([YAJL], [yajl >= 2.0.4], [ AC_SUBST([YAJL_CFLAGS]) AC_SUBST([YAJL_LIBS]) AC_DEFINE([HAVE_YAJL],[1],[Define to 1 if you have yajl.])