mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-18 20:02:27 +00:00
Remove -fallow-arguments-mismatch, no longer needed.
This commit is contained in:
@@ -7430,47 +7430,6 @@ if test "X$psblas_cv_fc" == X"nag" ; then
|
||||
FCOPT="$FCOPT -dcfuns -f2003 -wmismatch=mpi_scatterv,mpi_alltoallv,mpi_gatherv,mpi_allgatherv"
|
||||
EXTRA_OPT="$EXTRA_OPT -mismatch_all"
|
||||
fi
|
||||
if test "X$psblas_cv_fc" == "Xgcc" ; then
|
||||
FCOPT="-frecursive $FCOPT"
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for version 10 or later of GNU Fortran" >&5
|
||||
printf %s "checking for version 10 or later of GNU Fortran... " >&6; }
|
||||
ac_ext=${ac_fc_srcext-f}
|
||||
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
|
||||
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_fc_compiler_gnu
|
||||
|
||||
ac_exeext=''
|
||||
ac_ext='F90'
|
||||
ac_fc=${MPIFC-$FC};
|
||||
cat > conftest.$ac_ext <<_ACEOF
|
||||
|
||||
program main
|
||||
#if ( __GNUC__ >= 10 )
|
||||
print *, "ok"
|
||||
#else
|
||||
this program will fail
|
||||
#endif
|
||||
end
|
||||
_ACEOF
|
||||
if ac_fn_fc_try_compile "$LINENO"
|
||||
then :
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
printf "%s\n" "yes" >&6; }
|
||||
FCOPT="-fallow-argument-mismatch $FCOPT"
|
||||
else $as_nop
|
||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
printf "%s\n" "no" >&6; }
|
||||
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||
ac_ext=c
|
||||
ac_cpp='$CPP $CPPFLAGS'
|
||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
# COPT,FCOPT are aliases for CFLAGS,FCFLAGS .
|
||||
|
||||
+6
-6
@@ -482,12 +482,12 @@ if test "X$psblas_cv_fc" == X"nag" ; then
|
||||
FCOPT="$FCOPT -dcfuns -f2003 -wmismatch=mpi_scatterv,mpi_alltoallv,mpi_gatherv,mpi_allgatherv"
|
||||
EXTRA_OPT="$EXTRA_OPT -mismatch_all"
|
||||
fi
|
||||
if test "X$psblas_cv_fc" == "Xgcc" ; then
|
||||
FCOPT="-frecursive $FCOPT"
|
||||
PAC_HAVE_GFORTRAN_10(
|
||||
[FCOPT="-fallow-argument-mismatch $FCOPT"],
|
||||
[])
|
||||
fi
|
||||
dnl if test "X$psblas_cv_fc" == "Xgcc" ; then
|
||||
dnl FCOPT="-frecursive $FCOPT"
|
||||
dnl PAC_HAVE_GFORTRAN_10(
|
||||
dnl [FCOPT="-fallow-argument-mismatch $FCOPT"],
|
||||
dnl [])
|
||||
dnl fi
|
||||
|
||||
|
||||
# COPT,FCOPT are aliases for CFLAGS,FCFLAGS .
|
||||
|
||||
Reference in New Issue
Block a user