automake-patches
[Top][All Lists]
Advanced

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

languages 'f77'/ 'fc' should recommend AC_PROG_F77/FC


From: Ralf Wildenhues
Subject: languages 'f77'/ 'fc' should recommend AC_PROG_F77/FC
Date: Wed, 30 Aug 2006 19:10:20 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

This is the first of a series of patches all more or less related to
Fortran support in Automake.

I'd appreciate any kind of feedback, be that a rejection, missing bits,
documentation, or tests, and will happily redo.

OK to apply?

Cheers,
Ralf

        * automake.in: Fortran 77 and Fortran should require variables
        F77 resp. FC to be defined, and suggest the respective Autoconf
        macros otherwise.

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1629
diff -u -r1.1629 automake.in
--- automake.in 20 Aug 2006 15:46:10 -0000      1.1629
+++ automake.in 30 Aug 2006 17:08:00 -0000
@@ -864,6 +864,7 @@
 # Fortran 77
 register_language ('name' => 'f77',
                   'Name' => 'Fortran 77',
+                  'config_vars' => ['F77'],
                   'linker' => 'F77LINK',
                   'link' => '$(F77LD) $(AM_FFLAGS) $(FFLAGS) $(AM_LDFLAGS) 
$(LDFLAGS) -o $@',
                   'flags' => ['FFLAGS'],
@@ -880,6 +881,7 @@
 # Fortran
 register_language ('name' => 'fc',
                   'Name' => 'Fortran',
+                  'config_vars' => ['FC'],
                   'linker' => 'FCLINK',
                   'link' => '$(FCLD) $(AM_FCFLAGS) $(FCFLAGS) $(AM_LDFLAGS) 
$(LDFLAGS) -o $@',
                   'flags' => ['FCFLAGS'],




reply via email to

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