From 0470c0f6789a4269b6b6c49ba14192b3912eb61b Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Mon, 18 Mar 2013 23:08:18 +0100 Subject: [PATCH] jansson: change function test to be sure of version --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6af2df9fb6..61fc7a1dab 100644 --- a/configure.ac +++ b/configure.ac @@ -569,11 +569,11 @@ AC_INIT(configure.ac) LDFLAGS="${LDFLAGS} -L${with_libjansson_libraries}" fi - AC_CHECK_LIB(jansson, json_loads,, JANSSON="no") + AC_CHECK_LIB(jansson, json_dump_callback,, JANSSON="no") enable_jansson="yes" if test "$JANSSON" = "no"; then echo - echo " Jansson is required for features like unix socket" + echo " Jansson >= 2.2 is required for features like unix socket" echo " Go get it from your distribution of from:" echo " http://www.digip.org/jansson/" echo