[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch - bug fix for AC_F77_DUMMY_MAIN and AC_FC_DUMMY_MAIN
From: |
Steven G. Johnson |
Subject: |
patch - bug fix for AC_F77_DUMMY_MAIN and AC_FC_DUMMY_MAIN |
Date: |
Mon, 09 Jan 2006 17:53:54 -0500 |
User-agent: |
Mozilla Thunderbird 1.0 (Macintosh/20041206) |
Hi, I just noticed a silly bug that crept in when the F77 -> F77+FC
change was made: the abovementioned two macros ignore their arguments!
2006-01-09 Steven G. Johnson <address@hidden>
* lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
Don't ignore the macro arguments.
Patch follows:
diff -u -r1.199 fortran.m4
--- lib/autoconf/fortran.m4 5 Jan 2006 10:11:22 -0000 1.199
+++ lib/autoconf/fortran.m4 9 Jan 2006 22:49:15 -0000
@@ -828,7 +828,7 @@
AC_DEFUN([AC_F77_DUMMY_MAIN],
[AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
AC_LANG_PUSH(Fortran 77)dnl
-_AC_FC_DUMMY_MAIN
+_AC_FC_DUMMY_MAIN([$1],[$2])
AC_LANG_POP(Fortran 77)dnl
])# AC_F77_DUMMY_MAIN
@@ -838,7 +838,7 @@
AC_DEFUN([AC_FC_DUMMY_MAIN],
[AC_REQUIRE([AC_FC_LIBRARY_LDFLAGS])dnl
AC_LANG_PUSH(Fortran)dnl
-_AC_FC_DUMMY_MAIN
+_AC_FC_DUMMY_MAIN([$1],[$2])
AC_LANG_POP(Fortran)dnl
])# AC_FC_DUMMY_MAIN
- patch - bug fix for AC_F77_DUMMY_MAIN and AC_FC_DUMMY_MAIN,
Steven G. Johnson <=