From: Victor Julien Date: Mon, 15 Jul 2013 12:06:42 +0000 (+0200) Subject: Fix CLS configure check X-Git-Tag: suricata-2.0beta1~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdc3b5ba150a527e79f360a559f8e1a5f8561f1c;p=thirdparty%2Fsuricata.git Fix CLS configure check --- diff --git a/configure.ac b/configure.ac index 2bf93b2db6..9b7ce46740 100644 --- a/configure.ac +++ b/configure.ac @@ -1505,7 +1505,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" != "" and "$CLS" != "0"; then + if [test "$CLS" != "" && test "$CLS" != "0"]; then AC_DEFINE_UNQUOTED([CLS],[${CLS}],[L1 cache line size]) else AC_DEFINE_UNQUOTED([CLS],[64],[L1 cache line size])