aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb>2013-05-11 16:04:03 +0000
committereschnett <eschnett@c7ba4c71-c2f2-49b2-85d5-cb7b5f04bdfb>2013-05-11 16:04:03 +0000
commit0e1ea1ab6fe1f1a029bfc76ea57ab711213d7024 (patch)
tree6add9ab6816a0fa43805ce94894f669ca96e7b66
parent3d938a3f086dedb52493ac04a278ae84f4dd6ad2 (diff)
Don't set LAPACK_*_DIRS when NO_BUILD is used
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LAPACK/trunk@40 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..b586a9f 100644
--- a/configure.sh
+++ b/configure.sh
@@ -164,7 +164,9 @@ fi
################################################################################
# Set options
-if [ "${LAPACK_DIR}" != '/usr/lib' -a "${LAPACK_DIR}" != '/usr/local/lib' ]; then
+if [ "${LAPACK_DIR}" != '/usr/lib' -a "${LAPACK_DIR}" != '/usr/local/lib' -a \
+ "${LAPACK_DIR}" != 'NO_BUILD' ]
+then
: ${LAPACK_INC_DIRS=}
: ${LAPACK_LIB_DIRS="${LAPACK_DIR}"}
fi