aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configuration.ccl2
-rw-r--r--configure.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/configuration.ccl b/configuration.ccl
index 5f613ee..e5599e3 100644
--- a/configuration.ccl
+++ b/configuration.ccl
@@ -4,7 +4,7 @@ PROVIDES LAPACK
{
SCRIPT configure.sh
LANG bash
- OPTIONS LAPACK_DIR LAPACK_INSTALL_DIR LAPACK_LIBS
+ OPTIONS LAPACK_DIR LAPACK_INC_DIRS LAPACK_LIB_DIRS LAPACK_LIBS LAPACK_INSTALL_DIR
}
REQUIRES BLAS
diff --git a/configure.sh b/configure.sh
index e0f1828..35af7c7 100644
--- a/configure.sh
+++ b/configure.sh
@@ -166,8 +166,8 @@ fi
# Set options
if [ "${LAPACK_DIR}" != '/usr/lib' -a "${LAPACK_DIR}" != '/usr/local/lib' ]; then
- LAPACK_INC_DIRS=
- LAPACK_LIB_DIRS="${LAPACK_DIR}"
+ : ${LAPACK_INC_DIRS=}
+ : ${LAPACK_LIB_DIRS="${LAPACK_DIR}"}
fi
: ${LAPACK_LIBS='lapack'}