aboutsummaryrefslogtreecommitdiff
path: root/configure.seed
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-08-17 18:00:38 +0200
committerLuca Deri <deri@ntop.org>2020-08-17 18:00:38 +0200
commit34a98abcc0c6cda11ea3468ade724e6e155a6d2e (patch)
treec9f347c72bf5c68fb481dfde492752e2766b40cd /configure.seed
parentb501239d3f20fae84cd82b1945a6fc05de32bfe7 (diff)
Added --with-only-libndpi configure option to build just lindpi
Diffstat (limited to 'configure.seed')
-rw-r--r--configure.seed9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.seed b/configure.seed
index b344064cd..db4cf1b25 100644
--- a/configure.seed
+++ b/configure.seed
@@ -4,6 +4,14 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign subdir-objects])
+EXTRA_TARGETS="example tests"
+AC_ARG_WITH(only-libndpi, AS_HELP_STRING([--with-only-libndpi], [Build only libndpi (no examples, tests etc)]))
+AS_IF([test "${with_only_libndpi+set}" = set],[
+ EXTRA_TARGETS=""
+])
+
+
+
AC_ARG_WITH(sanitizer, AS_HELP_STRING([--with-sanitizer], [Build with support for address, undefined and leak sanitizer]))
AC_ARG_ENABLE(fuzztargets, AS_HELP_STRING([--enable-fuzztargets], [Enable fuzz targets]),[enable_fuzztargets=$enableval],[enable_fuzztargets=no])
AM_CONDITIONAL([BUILD_FUZZTARGETS], [test "x$enable_fuzztargets" = "xyes"])
@@ -187,4 +195,5 @@ AC_SUBST(DPDK_TARGET)
AC_SUBST(HAVE_PTHREAD_SETAFFINITY_NP)
AC_SUBST(CUSTOM_NDPI)
AC_SUBST(NDPI_API_VERSION)
+AC_SUBST(EXTRA_TARGETS)
AC_OUTPUT