]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
configure: clear cached header value
authorLiam Wilson <liam.wilson@alliedtelesis.co.nz>
Wed, 25 Sep 2024 21:31:31 +0000 (09:31 +1200)
committerVictor Julien <victor@inliniac.net>
Wed, 2 Oct 2024 08:28:22 +0000 (10:28 +0200)
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

index 413cda2aebc7e3fe42bebc9fb1449128a9722a43..3ec7ebd57ff664b050a7c421c98a02586a40d5a4 100644 (file)
     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