autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New macro AC_FC_PP_SRCEXT for preprocessed file extensions.


From: Ralf Wildenhues
Subject: Re: New macro AC_FC_PP_SRCEXT for preprocessed file extensions.
Date: Sat, 2 Apr 2011 15:07:04 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

* 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 @@ address@hidden@: address@hidden@ @f77_object@ @f90_object@ \
 
 .SUFFIXES: .f .f77 .f90 .f95 .f03 .f08 .F .F77 .F90 .F95 .F03 .F08 
address@hidden@
 address@hidden@:
-       @FC@ -c @FCFLAGS_f@ $<
+       @FC@ -c @FCFLAGS@ @FCFLAGS_f@ $<
 address@hidden@:
-       @FC@ -c @FCFLAGS_f77@ $<
+       @FC@ -c @FCFLAGS@ @FCFLAGS_f77@ $<
 address@hidden@:
        @FC@ -c @FCFLAGS@ @FCFLAGS_f90@ $<
 address@hidden@:
@@ -765,9 +765,9 @@ address@hidden@: address@hidden@ @f77_object@ @f90_object@ \
 address@hidden@:
        @FC@ -c @FCFLAGS@ @FCFLAGS_f08@ $<
 address@hidden@:
-       @FC@ -c @FCFLAGS_F@ $<
+       @FC@ -c @FCFLAGS@ @FCFLAGS_F@ $<
 address@hidden@:
-       @FC@ -c @FCFLAGS_F77@ $<
+       @FC@ -c @FCFLAGS@ @FCFLAGS_F77@ $<
 address@hidden@:
        @FC@ -c @FCFLAGS@ @FCFLAGS_F90@ $<
 address@hidden@:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]