(automake-1.16.info)Fortran 9x Support


Next: Java Support with gcj Prev: Fortran 77 Support Up: Programs
Enter node , (file) or (file)node

8.15 Fortran 9x Support
=======================

Automake includes support for Fortran 9x.

   Any package including Fortran 9x code must define the output variable
‘FC’ in ‘configure.ac’; the simplest way to do this is to use the
‘AC_PROG_FC’ macro (*note Particular Program Checks:
(autoconf)Particular Programs.).

   A few additional variables are defined when a Fortran 9x source file
is seen:

‘FC’
     The name of the Fortran 9x compiler.

‘FCFLAGS’
     Any flags to pass to the Fortran 9x compiler.

‘AM_FCFLAGS’
     The maintainer’s variant of ‘FCFLAGS’.

‘FCCOMPILE’
     The command used to actually compile a Fortran 9x source file.  The
     file name is appended to form the complete command line.

‘FCLINK’
     The command used to actually link a pure Fortran 9x program or
     shared library.

Compiling Fortran 9x Files
Compiling Fortran 9x sources

automatically generated by info2www version 1.2.2.9