[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Konstantinos Poulios |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Mon, 18 Dec 2023 11:06:22 -0500 (EST) |
branch: remove-local-superlu
commit 8ce9151ff5378061db7784aa031250455b47c60a
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Tue Dec 5 14:04:25 2023 +0100
Improve configuration without superlu
---
configure.ac | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/configure.ac b/configure.ac
index 16a854de..1ab7d38d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -807,6 +807,7 @@ AC_ARG_WITH(superlu-include-dir,
CPPFLAGS="$CPPFLAGS $SUPERLUINC"
if test "x$require_superlu" = "xno"; then
+ SUPERLU_LIBS=""
echo "Building with SuperLU explicitly disabled";
else
AC_CHECK_HEADERS(
@@ -834,6 +835,11 @@ else
SUPERLU_LIBS=""
LIBS="$save_LIBS"
fi
+ elif test "x$require_superlu" = "xyes"; then
+ AC_MSG_ERROR([SuperLU header files not found but required by the user.
Aborting configure...]);
+ else
+ echo "SuperLU header files not found, building without SuperLU"
+ SUPERLU_LIBS=""
fi
fi