From be1ac5272299deab0dd8881a46e96a65dac463be Mon Sep 17 00:00:00 2001 From: eschnett Date: Tue, 21 Jun 2011 03:28:02 +0000 Subject: Allow US spelling OPTIMIZE for OPTIMISE. Correct error message. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@13 105869f7-3296-0410-a4ea-f4349344b45a --- configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.sh b/configure.sh index 85a6e26..fa68cb1 100644 --- a/configure.sh +++ b/configure.sh @@ -26,11 +26,11 @@ esac # vectorisation macros depend on optimisation for efficient code; # without optimisation, the code is most likely much slower than # usual.) -case $(echo "x$OPTIMISE" | tr '[:upper:]' '[:lower:]') in +case $(echo "x$OPTIMISE$OPTIMIZE" | tr '[:upper:]' '[:lower:]') in (xyes) ;; # do nothing (xno) VECTORISE=0 ;; # disable vectorisation (*) echo "BEGIN ERROR" - echo "Illegal value of option CCTK_OPTIMISE_MODE" + echo "Illegal value of option OPTIMISE or OPTIMIZE" echo "END ERROR" exit 1 esac -- cgit v1.2.3