aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbmundim <bmundim@c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb>2013-03-28 18:11:59 +0000
committerbmundim <bmundim@c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb>2013-03-28 18:11:59 +0000
commit94c11a4e211970eface34273e9dd619265919a68 (patch)
treeb19c80c68b901f82efff6c0f13cdae7734ed6082
parent2140829b5e5eb68980a42c1ad48a61f0ad49592f (diff)
Add NO_BUILD option
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LAPACK/trunk@36 c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb
-rw-r--r--configure.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh
index 3bdcf46..5fb2602 100644
--- a/configure.sh
+++ b/configure.sh
@@ -16,7 +16,9 @@ set -e # Abort on errors
# Search
################################################################################
-if [ -z "${LAPACK_DIR}" ]; then
+if [ -z "${LAPACK_DIR}" \
+ -o "$(echo "${LAPACK_DIR}" | tr '[a-z]' '[A-Z]')" = 'NO_BUILD' ]
+then
echo "BEGIN MESSAGE"
echo "LAPACK selected, but LAPACK_DIR not set. Checking some places..."
echo "END MESSAGE"