[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NetBSD 1.5 & AC_F77_WRAPPERS problem
From: |
Akim Demaille |
Subject: |
Re: NetBSD 1.5 & AC_F77_WRAPPERS problem |
Date: |
18 Jul 2001 14:40:34 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor) |
| On Wed, Jul 18, 2001 at 01:13:29PM +0200, Akim Demaille wrote:
| > >>>>> "Nicolas" == Nicolas Joly <address@hidden> writes:
| >
| > Nicolas> I just checked CVS autoconf on my NetBSD 1.5 and the
| > Nicolas> `AC_F77_WRAPPERS' problem is back.
| >
| > Nicolas> The needed `#ifdef F77_DUMMY_MAIN ... #endif' structure is
| > Nicolas> missing.
| >
| > :( Well, there will be no 2.51 then...
| >
| > How about this? I'm entirely responsible for this, I simply forgot
| > that AC_F77_DUMMY_MAIN needs this special section will running and we
| > include it only when it _has_ been run...
|
| I have an other failure :
|
| 101. ./aclang.at:12: testing AC_F77_WRAPPERS...
| ./aclang.at:12: autoconf --autoconf-dir .. -l $at_srcdir -W obsolete
| --- /dev/null Wed Jul 18 14:24:06 2001
| +++ at-stderr Wed Jul 18 14:24:10 2001
| @@ -0,0 +1 @@
| +configure:2353: error: possibly undefined macro:
_AC_LANG_PROGRAM_C_F77_HOOKSdnl
| ./aclang.at:12: exit code was 1, expected 0
| 101. ./aclang.at:12: FAILED near `aclang.at:12'
|
| > Index: aclang.m4
| > ===================================================================
| > RCS file: /cvs/autoconf/aclang.m4,v
| > retrieving revision 1.146
| > diff -u -u -r1.146 aclang.m4
| > --- aclang.m4 2001/07/17 16:30:20 1.146
| > +++ aclang.m4 2001/07/18 11:12:04
| > @@ -358,14 +358,7 @@
| > # against Fortran code, hence a dummy main might be needed.
| > m4_define([AC_LANG_PROGRAM(C)],
| > [$1
| > -m4_provide_ifelse([AC_F77_DUMMY_MAIN],
| > -[#ifdef F77_DUMMY_MAIN
| > -# ifdef __cplusplus
| > - extern "C"
| > -# endif
| > - int F77_DUMMY_MAIN() { return 1; }
| > -#endif
| > -])dnl
| > +m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS])dnl
|
| Removing the ending `dnl' here solves the problem.
Thanks. The proper fix is
m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS()])dnl
It's not clear to me whether `Removing the ending `dnl' here solves
the problem' means AC_F77_WRAPPERS works properly. Please, confirm so
that I can resume the release process.