* Ralf Wildenhues wrote on Sat, Mar 05, 2011 at 07:59:27PM CET:
> I haven't pushed this patch yet; I'd really appreciate some comments.
No comments, I've pushed this patch now, with minor testsuite fixes as
below folded in.
Thanks,
Ralf
> New macro AC_FC_PP_SRCEXT for preprocessed file extensions.
>
> * lib/autoconf/fortran.m4 (AC_FC_PP_SRCEXT): New macro.
> * lib/autom4te.in (Automake-preselections): Preselect it.
> * doc/autoconf.texi (Fortran Compiler): Document it, rewriting
> the documentation for AC_FC_SRCEXT along the way.
> * tests/fortran.at (AC_FC_PP_SRCEXT usage): New test.
> * tests/mktests.sh: Exclude the macro from default testing.
> * NEWS: Update.
diff --git a/tests/fortran.at b/tests/fortran.at
index 346baa0..524a8c3 100644
--- a/tests/fortran.at
+++ b/tests/fortran.at
@@ -753,9 +753,9 @@ prog@EXEEXT@: foof.@OBJEXT@ @f77_object@ @f90_object@ \
.SUFFIXES: .f .f77 .f90 .f95 .f03 .f08 .F .F77 .F90 .F95 .F03 .F08 .@OBJEXT@
.f.@OBJEXT@:
- @FC@ -c @FCFLAGS_f@ $<
+ @FC@ -c @FCFLAGS@ @FCFLAGS_f@ $<
.f77.@OBJEXT@:
- @FC@ -c @FCFLAGS_f77@ $<
+ @FC@ -c @FCFLAGS@ @FCFLAGS_f77@ $<
.f90.@OBJEXT@:
@FC@ -c @FCFLAGS@ @FCFLAGS_f90@ $<
.f95.@OBJEXT@:
@@ -765,9 +765,9 @@ prog@EXEEXT@: foof.@OBJEXT@ @f77_object@ @f90_object@ \
.f08.@OBJEXT@:
@FC@ -c @FCFLAGS@ @FCFLAGS_f08@ $<
.F.@OBJEXT@:
- @FC@ -c @FCFLAGS_F@ $<
+ @FC@ -c @FCFLAGS@ @FCFLAGS_F@ $<
.F77.@OBJEXT@:
- @FC@ -c @FCFLAGS_F77@ $<
+ @FC@ -c @FCFLAGS@ @FCFLAGS_F77@ $<
.F90.@OBJEXT@:
@FC@ -c @FCFLAGS@ @FCFLAGS_F90@ $<
.F95.@OBJEXT@: