This is an automated email from the git hooks/post-receive script. logari81 pushed a commit to branch remove-local-superlu in repository getfem.
The following commit(s) were added to refs/heads/remove-local-superlu by this push: new 597d39a0 Improve configuration without superlu 597d39a0 is described below commit 597d39a04acd25cf137c042c7abe03600ccc7b9d Author: Konstantinos Poulios <logar...@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