bug-automake
[Top][All Lists]
Advanced

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

bug#8635: Some Fortran files don't have the extensions automake wants


From: Stefano Lattarini
Subject: bug#8635: Some Fortran files don't have the extensions automake wants
Date: Mon, 9 May 2011 21:42:57 +0200
User-agent: KMail/1.13.5 (FreeBSD/8.2-RELEASE; KDE/4.5.5; i386; ; )

Hi Ralf.

On Monday 09 May 2011, Ralf Wildenhues wrote:

> * Stefano Lattarini wrote on Mon, May 09, 2011 at 02:11:53PM CEST:

> > --- a/automake.in

> > +++ b/automake.in

> > @@ -939,7 +939,7 @@ register_language ('name' => 'f77',

> > 'lder' => 'F77LD',

> > 'ld' => '$(F77)',

> > 'pure' => 1,

> > - 'extensions' => ['.f', '.for']);

> > + 'extensions' => ['.f']);

> >

> > # Fortran

> > register_language ('name' => 'fc',

> > @@ -957,7 +957,7 @@ register_language ('name' => 'fc',

> > 'lder' => 'FCLD',

> > 'ld' => '$(FC)',

> > 'pure' => 1,

> > - 'extensions' => ['.f90', '.f95', '.f03', '.f08']);

> > + 'extensions' => ['.for', '.f90', '.f95', '.f03', '.f08']);

> >

> > # Preprocessed Fortran

> > register_language ('name' => 'ppfc',

>

> Sorry, but this is not a good change, and it is backward-incompatible

> (even if .for might not have been used much in practice).

>

Sorry if I hadn't been clear: my intention was *not* for this patch to be

applied to the automake official repository; it was just intended as a quick

workaround for Peter. See also my other mail in this thread.

> My intention with the recent Autoconf Fortran changes was to go ahead

> and let Automake grab those extensions for $(FC) for which an

> AC_FC_SRCEXT was issued. And assume preprocessing for those where

> AC_FC_PP_SRCEXT was issued for. But that is a bigger change.

>

My fortran fu is pretty weak, so I'm happily going to follow your lead

here.

> Cheers, and sorry for my really slow catchup

> (also, all of my mail from yesterday got stuck somewhere...)

>

Too bad :-(

> Ralf

>

Regards,

Stefano


reply via email to

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