From: Anoop Saldanha Date: Tue, 2 Jul 2013 12:29:17 +0000 (+0530) Subject: Update configure.ac to use the default value of 64 for the cache line size X-Git-Tag: suricata-2.0beta1~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68847d12e3cdd41a2dbf15c038fa30b7fca7f9e1;p=thirdparty%2Fsuricata.git Update configure.ac to use the default value of 64 for the cache line size for systems which return a value of 0. --- diff --git a/configure.ac b/configure.ac index 775c16f834..c360582512 100644 --- a/configure.ac +++ b/configure.ac @@ -1496,7 +1496,7 @@ AC_INIT(configure.ac) AC_PATH_PROG(HAVE_GETCONF_CMD, getconf, "no") if test "$HAVE_GETCONF_CMD" != "no"; then CLS=$(getconf LEVEL1_DCACHE_LINESIZE) - if test "$CLS" != ""; then + if test "$CLS" != "" and "$CLS" != "0"; then AC_DEFINE_UNQUOTED([CLS],[${CLS}],[L1 cache line size]) else AC_DEFINE_UNQUOTED([CLS],[64],[L1 cache line size])