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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Williams <pwilliams <at> astro.berkeley.edu>
To: bug-automake <at> gnu.org
Subject: Some Fortran files don't have the extensions automake wants
Date: Fri, 06 May 2011 19:38:27 -0700
I'm working on wrapping a large, preexisting piece of Fortran code with
an Autotools-based build system. The code is written in Fortran 90 and
uses ".for" for the file extension. Unfortunately, automake thinks that
".for" files are Fortran 77 code, so the wrong compiler gets used and
chokes on the F90 constructs.

It's not practical for me to rename the files -- tracking upstream would
become impossible. Would it be possible to provide a way for me to tell
automake that my .for files are actually Fortran 90, not Fortran 77? As
far as I can tell, this mapping is simply hardcoded
in /usr/bin/automake. It wouldn't be the most pleasant, but it'd suffice
if there were some global variable that I could set that would say "hey,
Automake, .for files are F90". One could imagine more generic solutions
as well, but Fortran is probably the only language that has these kinds
of problems.

Thanks,

Peter

-- 
Peter Williams / pwilliams <at> astro.berkeley.edu
Department of Astronomy, UC Berkeley





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.