]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Add support for Fortran 77.
authorMatthew D. Langston <langston@SLAC.Stanford.EDU>
Mon, 19 Apr 1999 17:58:21 +0000 (17:58 +0000)
committerMatthew D. Langston <langston@SLAC.Stanford.EDU>
Mon, 19 Apr 1999 17:58:21 +0000 (17:58 +0000)
ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index d2b1cc8fdeab280f4459c400a4d2a7dc7653af0b..e75ed8046722d7512c67af7d593f3d9a846af257 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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-*.
index 196c4cbf9df5f5991c4d6d711a8f1a9decbd824e..d51d26a1d26b7ab17eb19e2ebf0240f0e144d7ba 100644 (file)
@@ -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]))
index 196c4cbf9df5f5991c4d6d711a8f1a9decbd824e..d51d26a1d26b7ab17eb19e2ebf0240f0e144d7ba 100644 (file)
@@ -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]))