Depend on hyperscan

This commit is contained in:
Ed Kellett 2018-08-06 12:57:52 +01:00
parent a5c6d66ac8
commit 1905ab5f7d
No known key found for this signature in database
GPG key ID: CB9986DEF342FABC

View file

@ -320,6 +320,18 @@ dnl End OpenSSL detection
dnl Specialized functions and libraries dnl Specialized functions and libraries
dnl =================================== dnl ===================================
AC_ARG_ENABLE(hyperscan,
AC_HELP_STRING([--disable-hyperscan],[Disable hyperscan support]),
[hyperscan=$enableval],[hyperscan=yes])
if test "$hyperscan" = yes; then
CPPFLAGS="$CPPFLAGS $(pkg-config --cflags libhs)"
LIBS="$LIBS $(pkg-config --libs libhs)"
AC_CHECK_HEADER(hs_common.h)
fi
AC_ARG_WITH(zlib-path, AC_ARG_WITH(zlib-path,
AC_HELP_STRING([--with-zlib-path=DIR],[Path to libz.so for ziplinks support.]), AC_HELP_STRING([--with-zlib-path=DIR],[Path to libz.so for ziplinks support.]),
[LIBS="$LIBS -L$withval"],) [LIBS="$LIBS -L$withval"],)