Skip to content

Commit

Permalink
configure.ac Check json-c version.
Browse files Browse the repository at this point in the history
tss does not support json-c version < 0.13. The version is now
checked by configure.
Addresses tpm2-software#2767

Signed-off-by: Juergen Repp <[email protected]>
  • Loading branch information
JuergenReppSIT committed Feb 14, 2024
1 parent 48ce2d4 commit ed74347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])])
Expand Down

0 comments on commit ed74347

Please sign in to comment.