autoconf-patches
[Top][All Lists]
Advanced

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

Re: Testsuite failure in AC_F77_MAIN


From: Pavel Roskin
Subject: Re: Testsuite failure in AC_F77_MAIN
Date: Mon, 2 Jul 2001 14:33:40 -0400 (EDT)

> On Mon, 2 Jul 2001, Pavel Roskin wrote:
> > 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.
>
> In that case, you should similarly fix _AC_F77_NAME_MANGLING

Why? It already has "rm -f cf77_test* conftest*" near the end. You mean
it's not guaranteed to work? By the way, the macros starting with _AC are
not required to clean up as long as their callers do.

I'm applying the patch as is. Two notes for the future:

1) It should be possible to test AC_REQUIRED macros, perhaps by adding a
flag to mktests.sh. Many of them may forget to clean up.

2) Maybe Autoconf macros could use m4 to keep track of temporary files
they create, like AT_DATA in the testsuite. This way, "break" could be
replaced with AS_BREAK expanding to "rm -f TEMPFILES; break"

-- 
Regards,
Pavel Roskin




reply via email to

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