diff options
author | knarf <knarf@105869f7-3296-0410-a4ea-f4349344b45a> | 2011-08-04 05:44:39 +0000 |
---|---|---|
committer | knarf <knarf@105869f7-3296-0410-a4ea-f4349344b45a> | 2011-08-04 05:44:39 +0000 |
commit | a2f461feb8189da74b24eb628be8827815b7a1bb (patch) | |
tree | a7303529bd83c13a55b313029438c584d0a4ec1c /configure.sh | |
parent | 716f27e14e736fc11639c52bd219abdb7e6f9ccf (diff) |
don't rely on OPTIMISE or OPTIMIZE (both might not be defined), but use OPTIMISE_MODE, which is always provided by Cactus, and consistent with the other two
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@16 105869f7-3296-0410-a4ea-f4349344b45a
Diffstat (limited to 'configure.sh')
-rw-r--r-- | configure.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh index fa68cb1..b3135a1 100644 --- a/configure.sh +++ b/configure.sh @@ -26,7 +26,7 @@ esac # vectorisation macros depend on optimisation for efficient code; # without optimisation, the code is most likely much slower than # usual.) -case $(echo "x$OPTIMISE$OPTIMIZE" | tr '[:upper:]' '[:lower:]') in +case $(echo "x$OPTIMISE_MODE" | tr '[:upper:]' '[:lower:]') in (xyes) ;; # do nothing (xno) VECTORISE=0 ;; # disable vectorisation (*) echo "BEGIN ERROR" |