]> jfr.im git - solanum.git/blobdiff - configure.ac
filter: make the kill reason more honest
[solanum.git] / configure.ac
index 2c4d0354fc7279a81f52586d86446d8755cd6468..d8c9e82d6ad30d3a4c4aad5331b6cb28d7b0f74b 100644 (file)
@@ -4,7 +4,7 @@ dnl said functions need to be just about as complex as they already are.
 
 AC_PREREQ(2.60)
 
-AC_INIT([charybdis], [4.1-dev])
+AC_INIT([charybdis], [4.1.3-dev])
 
 AC_LANG(C)
 AC_USE_SYSTEM_EXTENSIONS
@@ -320,6 +320,18 @@ dnl End OpenSSL detection
 dnl Specialized functions and libraries
 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_HELP_STRING([--with-zlib-path=DIR],[Path to libz.so for ziplinks support.]),
 [LIBS="$LIBS -L$withval"],)