From 592d860434b3b50d1ab954274a7bd21137a0c676 Mon Sep 17 00:00:00 2001 From: Liam Wilson Date: Thu, 26 Sep 2024 09:31:31 +1200 Subject: [PATCH] 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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