aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d>2013-05-08 23:19:01 +0000
committereschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d>2013-05-08 23:19:01 +0000
commit4b083536009903813a99649a3057d49972cb301c (patch)
treefd153504cf49e3c5ddc0544e48cd3358004cbcf0
parent568be9cb74bac89ff288f333c30ae598404e9d33 (diff)
Don't set BLAS_*_DIRS when NO_BUILD is used
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@36 53307013-940b-43fa-b11d-2c2b05dfe90d
-rw-r--r--configure.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.sh b/configure.sh
index fc02cd9..0182b89 100644
--- a/configure.sh
+++ b/configure.sh
@@ -164,9 +164,11 @@ fi
################################################################################
# Set options
-if [ "${BLAS_DIR}" != '/usr/lib' -a "${BLAS_DIR}" != '/usr/local/lib' ]; then
- BLAS_INC_DIRS=
- BLAS_LIB_DIRS="${BLAS_DIR}"
+if [ "${BLAS_DIR}" != '/usr/lib' -a "${BLAS_DIR}" != '/usr/local/lib' -a \
+ "${BLAS_DIR}" != 'NO_BUILD' ]
+then
+ : ${BLAS_INC_DIRS=}
+ : ${BLAS_LIB_DIRS="${BLAS_DIR}"}
fi
: ${BLAS_LIBS='blas'}