autoconf
[Top][All Lists]
Advanced

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

Debian Autoconf bug report: Bug#138666: autoconf: AC_EXEEXT fails when C


From: Ben Pfaff
Subject: Debian Autoconf bug report: Bug#138666: autoconf: AC_EXEEXT fails when CFLAGS="-fprofile-arcs -ftest-coverage"
Date: 17 Mar 2002 12:32:16 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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 <address@hidden>, address@hidden
From: & Youngman <address@hidden>
To: address@hidden
Message-Id: <address@hidden>
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

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