mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-18 10:45:15 +08:00
Add support for Fortran 77.
This commit is contained in:
parent
cfff564377
commit
19934c8916
@ -1,3 +1,7 @@
|
||||
1999-04-19 Matthew D. Langston <langston@SLAC.Stanford.EDU>
|
||||
|
||||
* acgeneral.m4 (AC_TRY_LINK_FUNC): Add support for Fortran 77.
|
||||
|
||||
1999-04-11 Philipp Thomas <kthomas@gwdg.de>
|
||||
|
||||
* config.sub: Set basic_machine to i586 when target_alias = k6-*.
|
||||
|
@ -1514,6 +1514,7 @@ dnl ACTION-IF-NOT-FOUND.
|
||||
|
||||
AC_DEFUN(AC_TRY_LINK_FUNC,
|
||||
AC_TRY_LINK(dnl
|
||||
ifelse(AC_LANG, [FORTRAN77], ,
|
||||
ifelse([$1], [main], , dnl Avoid conflicting decl of main.
|
||||
[/* Override any gcc2 internal prototype to avoid an error. */
|
||||
]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
|
||||
@ -1523,7 +1524,7 @@ extern "C"
|
||||
[/* We use char because int might match the return type of a gcc2
|
||||
builtin and then its argument prototype would still apply. */
|
||||
char $1();
|
||||
]),
|
||||
])),
|
||||
[$1()],
|
||||
[$2],
|
||||
[$3]))
|
||||
|
@ -1514,6 +1514,7 @@ dnl ACTION-IF-NOT-FOUND.
|
||||
|
||||
AC_DEFUN(AC_TRY_LINK_FUNC,
|
||||
AC_TRY_LINK(dnl
|
||||
ifelse(AC_LANG, [FORTRAN77], ,
|
||||
ifelse([$1], [main], , dnl Avoid conflicting decl of main.
|
||||
[/* Override any gcc2 internal prototype to avoid an error. */
|
||||
]ifelse(AC_LANG, CPLUSPLUS, [#ifdef __cplusplus
|
||||
@ -1523,7 +1524,7 @@ extern "C"
|
||||
[/* We use char because int might match the return type of a gcc2
|
||||
builtin and then its argument prototype would still apply. */
|
||||
char $1();
|
||||
]),
|
||||
])),
|
||||
[$1()],
|
||||
[$2],
|
||||
[$3]))
|
||||
|
Loading…
Reference in New Issue
Block a user