]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/suricata/suricata-5.0.8-fix-level1-cache-line-size-detection.patch
68a21f1e94a269b3c322200545af06e1f6cd2e16
[ipfire-2.x.git] / src / patches / suricata / suricata-5.0.8-fix-level1-cache-line-size-detection.patch
1 diff --git a/configure.ac b/configure.ac
2 index d56d3a550..81abf8f00 100644
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -2318,7 +2318,7 @@ fi
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])