From: Liam Wilson Date: Wed, 25 Sep 2024 21:31:31 +0000 (+1200) Subject: configure: clear cached header value X-Git-Tag: suricata-8.0.0-beta1~836 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=592d860434b3b50d1ab954274a7bd21137a0c676;p=thirdparty%2Fsuricata.git configure: clear cached header value Unset ac_cv_header_hs_h before checking for header. This allows hyperscan to be included in compilation when switching from a non-hs build to a hs build. --- diff --git a/configure.ac b/configure.ac index 413cda2aeb..3ec7ebd57f 100644 --- a/configure.ac +++ b/configure.ac @@ -687,6 +687,7 @@ if test "$with_libhs_includes" != "no"; then CPPFLAGS="${CPPFLAGS} -I${with_libhs_includes}" fi + AS_UNSET(ac_cv_header_hs_h) AC_CHECK_HEADER(hs.h,HYPERSCAN="yes",HYPERSCAN="no") if test "$HYPERSCAN" = "yes"; then if test "$with_libhs_libraries" != "no"; then