GNU bug report logs - #8635
Some Fortran files don't have the extensions automake wants

Previous Next

Package: automake;

Reported by: Peter Williams <pwilliams <at> astro.berkeley.edu>

Date: Sat, 7 May 2011 17:14:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: "Ralf Wildenhues" <Ralf.Wildenhues <at> gmx.de>
Cc: 8635 <at> debbugs.gnu.org, Peter Williams <pwilliams <at> astro.berkeley.edu>
Subject: bug#8635: Some Fortran files don't have the extensions automake wants
Date: Mon, 9 May 2011 21:42:57 +0200
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

This bug report was last modified 14 years and 38 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.