]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suricata/suricata-5.0.8-fix-level1-cache-line-size-detection.patch
suricata: Update to 6.0.8
[people/pmueller/ipfire-2.x.git] / src / patches / suricata / suricata-5.0.8-fix-level1-cache-line-size-detection.patch
CommitLineData
a7834bcf
MT
1diff --git a/configure.ac b/configure.ac
2index d56d3a550..81abf8f00 100644
3--- a/configure.ac
4+++ b/configure.ac
b655b21a 5@@ -2390,7 +2390,7 @@ fi
a7834bcf
MT
6 AC_PATH_PROG(HAVE_GETCONF_CMD, getconf, "no")
7 if test "$HAVE_GETCONF_CMD" != "no"; then
8 CLS=$(getconf LEVEL1_DCACHE_LINESIZE)
9- if [test "$CLS" != "" && test "$CLS" != "0"]; then
10+ if [test "$CLS" != "" && test "$CLS" != "0" && test "$CLS" != "undefined"]; then
11 AC_DEFINE_UNQUOTED([CLS],[${CLS}],[L1 cache line size])
12 else
13 AC_DEFINE([CLS],[64],[L1 cache line size])