diff options
author | aouinizied <aouinizied@gmail.com> | 2022-04-07 17:59:11 +0200 |
---|---|---|
committer | aouinizied <aouinizied@gmail.com> | 2022-04-07 17:59:11 +0200 |
commit | 9537788ade8bd34ff150b30a79f1afb5a3123997 (patch) | |
tree | 299fe0340fdde786356f453b353d10910681ce90 | |
parent | ff993e2f57afbe2ac89f2da135aec37a31ec6832 (diff) |
Fix JSON-C.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2815aebbf..ce31803c7 100644 --- a/configure.ac +++ b/configure.ac @@ -96,6 +96,7 @@ AC_DEFINE_UNQUOTED(NDPI_GIT_DATE, "${GIT_DATE}", [Last GIT change]) if ! test "${with_only_libndpi+set}" = set; then : dnl> used by json-c for unit tests + PKG_CHECK_MODULES([JSONC], [json-c], [JSONC_LIBS="${pkg_cv_JSONC_LIBS}" JSONC_CFLAGS="${pkg_cv_JSONC_CFLAGS}"]) AC_CHECK_LIB([json-c], [json_object_put], [], [ AC_MSG_WARN([JSON-C not available. Disabled unit test.]) JSONC_LIBS="" |