From 0f425bdc0635e76c8e0611f81a6fd9e2bfaeca31 Mon Sep 17 00:00:00 2001 From: sfilippone Date: Fri, 21 Mar 2025 11:54:05 +0100 Subject: [PATCH] Fix configure for MUMPS with INCLUDES instead of MODULES --- configure | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index c309c298..0de54ec1 100755 --- a/configure +++ b/configure @@ -9979,8 +9979,8 @@ printf "%s\n" "$as_me: PSBLAS defines PSB_LPK_ as $pac_cv_psblas_lpk. MUMPS inte CHAVEMUMPSMODULES="#define AMG_HAVE_MUMPS_MODULES" elif test "x$pac_mumps_fincs_ok" == "xyes" ; then - FDEFINES="$amg_cv_define_prepend-DAMG_HAVE_MUMPS_ $amg_cv_define_prepend-DAMG_HAVE_MUMPS_INCLUDES $MUMPS_FINCLUDES $FDEFINES" - MUMPS_FLAGS="-DAMG_HAVE_MUMPS $MUMPS_INCLUDES" + FDEFINES="$amg_cv_define_prepend-DAMG_HAVE_MUMPS $amg_cv_define_prepend-DAMG_HAVE_MUMPS_INCLUDES $MUMPS_FINCLUDES $FDEFINES" + MUMPS_FLAGS="-DAMG_HAVE_MUMPS $MUMPS_FINCLUDES" CHAVEMUMPS="#define AMG_HAVE_MUMPS" CHAVEMUMPSINCLUDES="#define AMG_HAVE_MUMPS_INCLUDES" else diff --git a/configure.ac b/configure.ac index 912e3d26..3145b7c9 100755 --- a/configure.ac +++ b/configure.ac @@ -764,8 +764,8 @@ if test "x$amg4psblas_cv_have_mumps" == "xyes" ; then CHAVEMUMPSMODULES="#define AMG_HAVE_MUMPS_MODULES" elif test "x$pac_mumps_fincs_ok" == "xyes" ; then - FDEFINES="$amg_cv_define_prepend-DAMG_HAVE_MUMPS_ $amg_cv_define_prepend-DAMG_HAVE_MUMPS_INCLUDES $MUMPS_FINCLUDES $FDEFINES" - MUMPS_FLAGS="-DAMG_HAVE_MUMPS $MUMPS_INCLUDES" + FDEFINES="$amg_cv_define_prepend-DAMG_HAVE_MUMPS $amg_cv_define_prepend-DAMG_HAVE_MUMPS_INCLUDES $MUMPS_FINCLUDES $FDEFINES" + MUMPS_FLAGS="-DAMG_HAVE_MUMPS $MUMPS_FINCLUDES" CHAVEMUMPS="#define AMG_HAVE_MUMPS" CHAVEMUMPSINCLUDES="#define AMG_HAVE_MUMPS_INCLUDES" else