autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_F77_WRAPPERS testsuite failure with CVS autoconf & NetBSD 1.5


From: Nicolas Joly
Subject: Re: AC_F77_WRAPPERS testsuite failure with CVS autoconf & NetBSD 1.5
Date: Wed, 4 Jul 2001 23:02:42 +0200
User-agent: Mutt/1.2.5i

On Wed, Jul 04, 2001 at 01:19:38PM -0400, Steven G. Johnson wrote:
> Oh, duh, stupid mistake.  Please try the following patch and let me know
> if it fixes the problem.

It works, but that i had to rename `ac_cv_f77_main' to
`ac_cv_f77_dummy_main' in your patch.

Thanks.

> Index: aclang.m4
> ===================================================================
> RCS file: /cvs/autoconf/aclang.m4,v
> retrieving revision 1.139
> diff -u -r1.139 aclang.m4
> --- aclang.m4 2001/07/01 19:41:20     1.139
> +++ aclang.m4 2001/07/04 17:14:13
> @@ -1949,7 +1949,8 @@
>  
>   if test $ac_cv_f77_dummy_main = unknown; then
>     for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; 
> do
> -     AC_TRY_LINK_FUNC($ac_func, [ac_cv_f77_dummy_main=$ac_func; break])
> +     AC_TRY_LINK([#define F77_DUMMY_MAIN $ac_func], 
> +                 [], [ac_cv_f77_main=$ac_func; break])
                         ^^^^^here^^^^^
>     done
>   fi
>   rm -f conftest*

-- 
Nicolas Joly

Informatique Scientifique
Institut Pasteur, Paris.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]