diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-06-09 00:13:31 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-06-09 00:13:31 +0200 |
commit | bdbf4c1a23a896b89bffd2df6d0867546bc400eb (patch) | |
tree | 9f1bc5b3224152b92fd5df650e68616fb850e859 | |
parent | 77710ed8b4629cecfe201d64aed8ebdaa09f884f (diff) |
autoconf: Do not check for json-c if --with-only-libndpi is set.fix/json-c-with-only-libndpi
* json-c is used by a unit test
* required to fix some libnDPI cross compilation issues
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | configure.seed | 2 |
1 files changed, 1 insertions, 1 deletions
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 |