[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: |
Thu, 7 Dec 2023 10:21:38 -0500 (EST) |
branch: remove-local-superlu
commit a7601235adf39a1b141542d8c7535aac9f54a29e
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