X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Date: Sun, 13 Sep 2009 22:43:16 +0300 From: Eli Zaretskii Subject: Re: [PATCH 3/4] DJGPP fix: remove both conftest and conftest.exe. In-reply-to: <20090913191615.GD29257@gmx.de> X-012-Sender: halo1 AT inter DOT net DOT il To: Ralf Wildenhues Cc: autoconf-patches AT gnu DOT org, rugxulo AT gmail DOT com, rrt AT sc3d DOT org, djgpp-workers AT delorie DOT com Message-id: <83bplezl4b.fsf@gnu.org> References: <20090913191226 DOT GA29257 AT gmx DOT de> <20090913191615 DOT GD29257 AT gmx DOT de> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sun, 13 Sep 2009 21:16:15 +0200 > From: Ralf Wildenhues > > The DJGPP compiler may create both `a.out' and `a.exe' without -o, > and both `conftest' and `conftest.exe' with `-o conftest', but not > with `-o conftest.exe'. > > * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Also remove > `conftest' without $ac_exeext suffix. > --- > > * Ralf Wildenhues wrote on Sun, Sep 13, 2009 at 09:12:28PM CEST: > > -- leftover 'conftest' files in state-ls.after > > Bug in Autoconf, fixed with patch. > > > > Test failures: 254 256-257 280-283 288-289 298 > > This patch is obvious (the semantics are even documented in the comments > of the macro). I will commit it soon. > > lib/autoconf/lang.m4 | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4 > index 8fd2925..5b44c68 100644 > --- a/lib/autoconf/lang.m4 > +++ b/lib/autoconf/lang.m4 > @@ -614,7 +614,7 @@ for ac_file in conftest.exe conftest conftest.*; do > esac > done], > [AC_MSG_FAILURE([cannot compute suffix of executables: cannot compile and link])]) > -rm -f conftest$ac_cv_exeext > +rm -f conftest conftest$ac_cv_exeext > AC_MSG_RESULT([$ac_cv_exeext]) > ])# _AC_COMPILER_EXEEXT_O > > -- > 1.6.3.3.345.gb7132 Thanks.