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


Message #16 received at 8635 <at> debbugs.gnu.org (full text, mbox):

From: "Ralf Wildenhues" <Ralf.Wildenhues <at> gmx.de>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: 8635 <at> debbugs.gnu.org, Peter Williams <pwilliams <at> astro.berkeley.edu>
Subject: Re: bug#8635: Some Fortran files don't have the extensions automake
	wants
Date: Mon, 09 May 2011 21:33:36 +0200
* 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).

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.

Cheers, and sorry for my really slow catchup
(also, all of my mail from yesterday got stuck somewhere...)
Ralf




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.