From: Arun Raghavan Date: Sat, 27 Apr 2013 03:27:05 +0000 (+0530) Subject: build-sys: json-c changed everything :( X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/759c0bc6f990240287a14fa6dec029ecea581463 build-sys: json-c changed everything :( json-c 0.11 ships a pkg-config file with a different name, and changes the name of its library as well. --- diff --git a/configure.ac b/configure.ac index c8161a47..b1bd21ac 100644 --- a/configure.ac +++ b/configure.ac @@ -624,7 +624,8 @@ AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_LIBCHECK" = x1]) #### json parsing #### -PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ]) +PKG_CHECK_MODULES(LIBJSON, [ json-c >= 0.11 ], [], + [PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ])]) AC_SUBST(LIBJSON_CFLAGS) AC_SUBST(LIBJSON_LIBS)