From 65e67a2f883ca1cf3e8a4955d0ed25ca6b59d66d Mon Sep 17 00:00:00 2001 From: Toni Date: Wed, 9 Jun 2021 08:01:10 +0200 Subject: autoconf: Do not check for json-c if --with-only-libndpi is set. (#1202) * json-c is used by a unit test * required to fix some libnDPI cross compilation issues Signed-off-by: Toni Uhlig --- configure.seed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.seed b/configure.seed index ce0d75e13..3ca8897a7 100644 --- a/configure.seed +++ b/configure.seed @@ -87,7 +87,7 @@ NDPI_API_VERSION=`echo $NDPI_API_VERSION | sed 's/^0*//'` AC_DEFINE_UNQUOTED(NDPI_GIT_RELEASE, "${GIT_RELEASE}", [GIT Release]) AC_DEFINE_UNQUOTED(NDPI_GIT_DATE, "${GIT_DATE}", [Last GIT change]) -if ! test "${with_mipsel+set}" = set; then : +if ! test "${with_mipsel+set}" = set && ! test "${with_only_libndpi+set}" = set; then : dnl> used by json-c for unit tests PKG_CHECK_MODULES([JSONC], [json-c], [JSONC_LIBS=`pkg-config --libs json-c` JSONC_CFLAGS=`pkg-config --cflags json-c`]) fi -- cgit v1.2.3