aboutsummaryrefslogtreecommitdiff
path: root/configure.seed
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-01-29 00:41:35 +0100
committerLuca Deri <deri@ntop.org>2020-01-29 00:41:35 +0100
commitc84ed5a71257d1db28036c37e90f828ed86623a0 (patch)
tree01a30159f2c600e9a2f45bbc563edc205c2cce4d /configure.seed
parentab2a011cf9b4a6cf4ffb82726609154d6c09b753 (diff)
Added check for libpcre presence
Diffstat (limited to 'configure.seed')
-rw-r--r--configure.seed2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.seed b/configure.seed
index 326242cd2..68997975e 100644
--- a/configure.seed
+++ b/configure.seed
@@ -160,6 +160,8 @@ AM_CONDITIONAL([HAS_FUZZLDFLAGS], [test "x$has_sanitizefuzzer" = "xyes"])
AC_CHECK_LIB(pthread, pthread_setaffinity_np, AC_DEFINE_UNQUOTED(HAVE_PTHREAD_SETAFFINITY_NP, 1, [libc has pthread_setaffinity_np]))
+AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE_UNQUOTED(HAVE_PCRE, 1, [libpcre(-dev) is present]))
+
AC_CONFIG_FILES([Makefile example/Makefile example/Makefile.dpdk tests/Makefile libndpi.pc src/include/ndpi_define.h src/lib/Makefile python/Makefile fuzz/Makefile])
AC_CONFIG_HEADERS(src/include/ndpi_config.h)
AC_SUBST(GIT_RELEASE)