Hi.  I'm the maintainer of the Debian package for Autoconf.  I
received the following bug report against Autoconf 2.52.  It
looks like it still applies to Autoconf 2.53, so I'm passing it
along upstream with this message.

Thanks,

Ben.

-------------------- Start of forwarded message --------------------
Subject: Bug#138666: autoconf: AC_EXEEXT fails when CFLAGS="-fprofile-arcs 
-ftest-coverage"
Reply-To: & Youngman <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
From: & Youngman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 16 Mar 2002 23:39:39 +0000 (GMT)

Package: autoconf
Version: 2.52-6
Severity: normal


If you have a configure script which uses AC_EXEEXT, and the
environment variable CFLAGS has been set to "-fprofile-arcs
-ftest-coverage" in order to set up for measuring the test suite
coverage of a GNUish program with a test suite, then AC_EXEEXT guesses
wrongly about the executable suffix.

AC_EXEEXT guesses on Unix that the executable suffic is ".bbg".

The reason for this is that the GCC compiler will have produced a
conftest.bbg file in the current directory, and this file will be
picked up in the loop over conftest.* files that AC_EXEEXT performs.

This means simply that *.bbg and *.bb should be added to the list of
files to ignore in aclang.m4, along with the existing list which
includes *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb.  This list is
near line 670 of aclang.m4 in version 2.52 of autoconf.
-------------------- End of forwarded message --------------------

-- 
"I knew it was a bad sign when I drove through Hell (MI) on Wednesday
and there was snow on the ground and all the standing water had a
layer of ice on the surface...  Yes folks, Hell has frozen over
and my cable modem *still* wasn't working..." --Ed Glowacki

Reply via email to