[pulseaudio-discuss] [PATCH 3/4] build-sys: Drop support for json 0.9

Peter Meerwald pmeerw at pmeerw.net
Mon Aug 18 05:47:26 PDT 2014


From: Peter Meerwald <p.meerwald at bct-electronic.com>

drop support for json 0.9 and require json-c 0.11 (this will also avoids confusion
which json package is needed due to the upstream rename)

json 0.9 lacks json_object_object_get_ex()

json-c 0.11 was released 20130402

Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
 configure.ac |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index dc2298d..546482e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -642,8 +642,7 @@ AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_LIBCHECK" = x1])
 
 #### json parsing ####
 
-PKG_CHECK_MODULES(LIBJSON, [ json-c >= 0.11 ], [],
-		  [PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ])])
+PKG_CHECK_MODULES(LIBJSON, [ json-c >= 0.11 ])
 
 #### Sound file ####
 
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list