From 0e1ea1ab6fe1f1a029bfc76ea57ab711213d7024 Mon Sep 17 00:00:00 2001 From: eschnett Date: Sat, 11 May 2013 16:04:03 +0000 Subject: 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 --- configure.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3