build: mandate Jansson >= 2.7

Since we use APIs added in Jansson 2.7 (e.g. json_string_length), then
raise the minimum version required to that version.

Fixes commit bd1c5c9f4d.
This commit is contained in:
Pino Toscano
2018-02-13 13:07:22 +01:00
parent 62b09ba0b0
commit eb4fbe96c9
2 changed files with 2 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ I<Required>.
I<Required>.
=item Jansson
=item Jansson E<ge> 2.7
I<Required>.

View File

@@ -285,7 +285,7 @@ AC_CHECK_FUNCS([xmlBufferDetach])
LIBS="$old_LIBS"
dnl Check for Jansson JSON library (required).
PKG_CHECK_MODULES([JANSSON], [jansson])
PKG_CHECK_MODULES([JANSSON], [jansson >= 2.7])
dnl Check for C++ (optional, we just use this to test the header works).
AC_PROG_CXX