configure.ac |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6ccc8284f03018851aace2097111f9cf44defea1
Author: Arun Raghavan <arun.ragha...@collabora.co.uk>
Date:   Sat Apr 27 08:57:05 2013 +0530

    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 13ca8a3..ac571f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -627,7 +627,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)
 

_______________________________________________
pulseaudio-commits mailing list
pulseaudio-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to