[Top][All Lists]
[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: |
Steven G. Johnson |
Subject: |
Re: AC_F77_WRAPPERS testsuite failure with CVS autoconf & NetBSD 1.5 |
Date: |
Wed, 4 Jul 2001 13:19:38 -0400 (EDT) |
Oh, duh, stupid mistake. Please try the following patch and let me know
if it fixes the problem.
Steven
PS. Use the Reply-To: header, and respond to address@hidden
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])
done
fi
rm -f conftest*
- Re: AC_F77_WRAPPERS testsuite failure with CVS autoconf & NetBSD 1.5,
Steven G. Johnson <=