diff options
Diffstat (limited to 'configure.sh')
-rw-r--r-- | configure.sh | 4 |
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" |