aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZied Aouini <aouinizied@gmail.com>2022-04-15 18:01:34 +0200
committerGitHub <noreply@github.com>2022-04-15 18:01:34 +0200
commit9c8a3f270a52d783bc8b7ca53a99f6d95c468d2a (patch)
tree320e27ae3182ffa4708efe4e38bc0eba47ea91d3
parentfba75a3cf5e06d2c9b8c7b1823cafd6e8ca636bc (diff)
Minor fix.
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 13716e363..994d1f71b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,8 +99,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_MSG_WARN([JSON-C not available. Disabled unit test.])])
+ PKG_CHECK_MODULES([JSONC], [json-c], [JSONC_LIBS="${pkg_cv_JSONC_LIBS}" JSONC_CFLAGS="${pkg_cv_JSONC_CFLAGS}"], [AC_MSG_WARN([JSON-C not available. Disabled unit test.])])
AC_CHECK_LIB([json-c], [json_object_put], [EXTRA_TARGETS="$EXTRA_TARGETS tests/unit"], [
AC_MSG_WARN([JSON-C not available. Disabled unit test.])
JSONC_LIBS=""