Starting from GNU Fortran 10.0.0, function/subroutine argument type
mismatch becomes a compile error. A new compile command-line option
"-fallow-argument-mismatch" can turn these errors into warnings. This
PR checks whether MPI Fortran compilers recognize this command-line
option and, if yes, adds it automatically to FFLAGS and FCFLAGS.
Starting from GNU Fortran 10.0.0, function/subroutine argument type mismatch becomes a compile error. A new compile command-line option "-fallow-argument-mismatch" can turn these errors into warnings. This PR checks whether MPI Fortran compilers recognize this command-line option and, if yes, adds it automatically to FFLAGS and FCFLAGS.