mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-19 12:22:12 +00:00
configry fixes
This commit is contained in:
@@ -337,6 +337,7 @@ dnl Warning : square brackets are EVIL!
|
||||
ac_fc="${MPIFC-$FC}";
|
||||
save_FCFLAGS="$FCFLAGS";
|
||||
FCFLAGS=" $FMFLAG$PSBLAS_DIR/include $save_FCFLAGS"
|
||||
ac_compile='$ac_fc -c -o conftest.${ac_objext} $FCFLAGS conftest.$ac_ext 1>&5'
|
||||
AC_COMPILE_IFELSE([
|
||||
program test
|
||||
use psb_base_mod
|
||||
|
||||
@@ -5608,7 +5608,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_f90_modflag" >&5
|
||||
$as_echo "$ax_cv_f90_modflag" >&6; }
|
||||
FMFLAG="${ax_f90_modflag%% *}"
|
||||
FMFLAG="${ax_cv_f90_modflag%% *}"
|
||||
# Last resort attempt
|
||||
if test "x$FMFLAG" == "xnot" ; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: Fortran inclusion flag detection failed, trying with -I" >&5
|
||||
@@ -5630,6 +5630,7 @@ ac_compiler_gnu=$ac_cv_fc_compiler_gnu
|
||||
ac_fc="${MPIFC-$FC}";
|
||||
save_FCFLAGS="$FCFLAGS";
|
||||
FCFLAGS=" $FMFLAG$PSBLAS_DIR/include $save_FCFLAGS"
|
||||
ac_compile='$ac_fc -c -o conftest.${ac_objext} $FCFLAGS conftest.$ac_ext 1>&5'
|
||||
cat > conftest.$ac_ext <<_ACEOF
|
||||
|
||||
program test
|
||||
|
||||
+1
-1
@@ -238,7 +238,7 @@ fi
|
||||
# PSBLAS library presence checks
|
||||
###############################################################################
|
||||
AX_F90_MODULE_FLAG
|
||||
FMFLAG="${ax_f90_modflag%%[ ]*}"
|
||||
FMFLAG="${ax_cv_f90_modflag%%[ ]*}"
|
||||
# Last resort attempt
|
||||
if test "x$FMFLAG" == "xnot" ; then
|
||||
AC_MSG_NOTICE([Fortran inclusion flag detection failed, trying with -I])
|
||||
|
||||
Reference in New Issue
Block a user