From 541cc77641dbab57033c2a3eabcc35c70a51ff9d Mon Sep 17 00:00:00 2001 From: bmundim Date: Thu, 28 Mar 2013 18:08:26 +0000 Subject: Add NO_BUILD option git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@34 53307013-940b-43fa-b11d-2c2b05dfe90d --- configure.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3