diff options
author | eschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a> | 2011-06-21 03:28:02 +0000 |
---|---|---|
committer | eschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a> | 2011-06-21 03:28:02 +0000 |
commit | be1ac5272299deab0dd8881a46e96a65dac463be (patch) | |
tree | d53657e4513592575bcb488147fcd3d3b3388d3e /configure.sh | |
parent | 21f90caa6e9bdfdb9f6243f7c32d1e429977f6bd (diff) |
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
Diffstat (limited to 'configure.sh')
-rw-r--r-- | configure.sh | 4 |
1 files 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 |