aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbmundim <bmundim@53307013-940b-43fa-b11d-2c2b05dfe90d>2013-03-28 18:08:26 +0000
committerbmundim <bmundim@53307013-940b-43fa-b11d-2c2b05dfe90d>2013-03-28 18:08:26 +0000
commit541cc77641dbab57033c2a3eabcc35c70a51ff9d (patch)
tree25b87939b7295f66bbe6d9dd68a9676223e09482
parentde9e522dac16ed571704a6ff29b6057eb76a78ff (diff)
Add NO_BUILD option
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@34 53307013-940b-43fa-b11d-2c2b05dfe90d
-rw-r--r--configure.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh
index fc02cd9..d76c1f5 100644
--- a/configure.sh
+++ b/configure.sh
@@ -16,7 +16,9 @@ set -e # Abort on errors
# Search
################################################################################
-if [ -z "${BLAS_DIR}" ]; then
+if [ -z "${BLAS_DIR}" \
+ -o "$(echo "${BLAS_DIR}" | tr '[a-z]' '[A-Z]')" = 'NO_BUILD' ]
+then
echo "BEGIN MESSAGE"
echo "BLAS selected, but BLAS_DIR not set. Checking some places..."
echo "END MESSAGE"