From ed74347edcdb30de2a5a6408a52b66974274b280 Mon Sep 17 00:00:00 2001 From: Juergen Repp Date: Wed, 14 Feb 2024 17:53:31 +0100 Subject: [PATCH] configure.ac Check json-c version. tss does not support json-c version < 0.13. The version is now checked by configure. Addresses #2767 Signed-off-by: Juergen Repp --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4250802ed..a763b6834 100644 --- a/configure.ac +++ b/configure.ac @@ -218,7 +218,7 @@ AS_IF([test "x$enable_policy" != xno && test "x$with_crypto" != "xossl"], [AC_MSG_ERROR([libpolicy has to be compiled with OpenSSL])]) AS_IF([test "x$enable_fapi" = xyes -o "x$enable_policy" = xyes ], - [PKG_CHECK_MODULES([JSONC], [json-c])]) + [PKG_CHECK_MODULES([JSONC], [json-c >= 0.13])]) AS_IF([test "x$enable_fapi" = xyes ], [PKG_CHECK_MODULES([CURL], [libcurl])])