From 80a618b99cf4ad7e0c4ac06645486ac9c0e71c4f Mon Sep 17 00:00:00 2001 From: knarf Date: Thu, 4 Aug 2011 05:55:36 +0000 Subject: apparently OPTIMIZE_MODE isn't arriving here, neither is CCTK_OPTIMIZE_MODE. So, for the moment treat an empty OPTIMIZE as 'yes', as Cactus itself also does git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@17 105869f7-3296-0410-a4ea-f4349344b45a --- configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.sh') diff --git a/configure.sh b/configure.sh index b3135a1..83ae33a 100644 --- a/configure.sh +++ b/configure.sh @@ -26,7 +26,8 @@ esac # vectorisation macros depend on optimisation for efficient code; # without optimisation, the code is most likely much slower than # usual.) -case $(echo "x$OPTIMISE_MODE" | tr '[:upper:]' '[:lower:]') in +case $(echo "x$OPTIMISE$OPTIMIZE" | tr '[:upper:]' '[:lower:]') in + (x) ;; # treat as 'yes' (xyes) ;; # do nothing (xno) VECTORISE=0 ;; # disable vectorisation (*) echo "BEGIN ERROR" -- cgit v1.2.3