From 94c11a4e211970eface34273e9dd619265919a68 Mon Sep 17 00:00:00 2001 From: bmundim Date: Thu, 28 Mar 2013 18:11:59 +0000 Subject: Add NO_BUILD option git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LAPACK/trunk@36 c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb --- configure.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3