[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch - bug fix for AC_F77_DUMMY_MAIN and AC_FC_DUMMY_MAIN
From: |
Ralf Wildenhues |
Subject: |
Re: patch - bug fix for AC_F77_DUMMY_MAIN and AC_FC_DUMMY_MAIN |
Date: |
Wed, 11 Jan 2006 09:20:50 +0100 |
User-agent: |
Mutt/1.5.11 |
* Steven G. Johnson wrote on Mon, Jan 09, 2006 at 11:53:54PM CET:
> 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!
Being rather obvious, I took liberty to apply this as follows.
Cheers,
Ralf
2006-01-11 Steven G. Johnson <address@hidden>
* lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
Don't ignore the macro arguments.
Index: lib/autoconf/fortran.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/fortran.m4,v
retrieving revision 1.199
diff -u -r1.199 fortran.m4
--- lib/autoconf/fortran.m4 5 Jan 2006 10:11:22 -0000 1.199
+++ lib/autoconf/fortran.m4 11 Jan 2006 08:20:46 -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($@)
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($@)
AC_LANG_POP(Fortran)dnl
])# AC_FC_DUMMY_MAIN