aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.sh3
1 files changed, 2 insertions, 1 deletions
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"