mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -169,7 +169,7 @@ I<Required>.
|
||||
|
||||
I<Required>.
|
||||
|
||||
=item Jansson
|
||||
=item Jansson E<ge> 2.7
|
||||
|
||||
I<Required>.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user