From 68847d12e3cdd41a2dbf15c038fa30b7fca7f9e1 Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Tue, 2 Jul 2013 17:59:17 +0530 Subject: [PATCH] Update configure.ac to use the default value of 64 for the cache line size for systems which return a value of 0. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])