[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Testsuite failure in AC_F77_MAIN
From: |
Pavel Roskin |
Subject: |
Testsuite failure in AC_F77_MAIN |
Date: |
Mon, 2 Jul 2001 11:34:36 -0400 (EDT) |
Hi, Steven!
The current CVS version of Autoconf fails in the testsuite. The
failing test is for AC_F77_MAIN:
--- expout Mon Jul 2 11:01:52 2001
+++ at-stdout Mon Jul 2 11:01:53 2001
@@ -20,6 +20,8 @@
confdefs.h
configure
configure.ac
+conftest
+conftest.c
debug-100.sh
foreign.at
m4sh.at
100. ./aclang.at:11: FAILED near `aclang.at:11'
I understand that AC_TRY_LINK has no chance to clean up after itself if
you are using "break" in the argument. The same applies to
AC_TRY_LINK_FUNC call from AC_F77_DUMMY_MAIN.
Here's the patch. ChangeLog:
* aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
break in the argument to AC_TRY_LINK_FUNC.
(AC_F77_MAIN): Remove conftest* after using break in the
argument to AC_TRY_LINK.
-----------------------------------
--- aclang.m4
+++ aclang.m4
@@ -1952,6 +1952,7 @@
AC_TRY_LINK_FUNC($ac_func, [ac_cv_f77_dummy_main=$ac_func; break])
done
fi
+ rm -f conftest*
LIBS=$ac_f77_dm_save_LIBS
AC_LANG_POP(C)dnl
])
@@ -1988,6 +1989,7 @@
AC_TRY_LINK([#undef F77_DUMMY_MAIN
#define main $ac_func], [], [ac_cv_f77_main=$ac_func; break])
done
+ rm -f conftest*
LIBS=$ac_f77_m_save_LIBS
AC_LANG_POP(C)dnl
])
-----------------------------------
Regards,
Pavel Roskin
- Testsuite failure in AC_F77_MAIN,
Pavel Roskin <=