1 |
|
2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu> |
2 |
|
|
3 |
|
Add support for newer Fortran dialects. The F77 interface is |
4 |
|
unchanged, and continues to support Fortran 77. New FC macros |
5 |
|
correspond to all the old F77 macros, with output variables FC, |
6 |
|
FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest |
7 |
|
available dialect, but older dialects can be specified. There are |
8 |
|
new macros AC_FC_SRCEXT to set the source extension, and |
9 |
|
AC_FC_FREEFORM to accept free-form source files. |
10 |
|
|
11 |
|
* lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)): |
12 |
|
New macros. |
13 |
|
(AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined. |
14 |
|
* lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT, |
15 |
|
_AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77), |
16 |
|
_AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran), |
17 |
|
AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran), |
18 |
|
AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran), |
19 |
|
_AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC, |
20 |
|
_AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O, |
21 |
|
AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V, |
22 |
|
_AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN, |
23 |
|
AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING, |
24 |
|
_AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC, |
25 |
|
AC_FC_SRCEXT, AC_FC_FREEFORM): |
26 |
|
New macros. |
27 |
|
(AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS, |
28 |
|
AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING, |
29 |
|
AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC): |
30 |
|
Rewrite in terms of the above. |
31 |
|
(_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove. |
32 |
|
* lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro. |
33 |
|
* tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC, |
34 |
|
AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O. |
35 |
|
|
36 |
2003-09-02 Paul Eggert <eggert@twinsun.com> |
2003-09-02 Paul Eggert <eggert@twinsun.com> |
37 |
|
|
38 |
* doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make): |
* doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make): |