Re: AC_C_CONST bug?
- From: Måns Rullgård <mans@xxxxxxxxx>
- Date: Sat, 24 Mar 2007 18:46:32 +0000
"Bill Pursell" <bill.pursell@xxxxxxxxx> writes:
Given a stock autoconfiscated project,
If I run configure with CFLAGS="-Wall -Werror", the
macro AC_C_CONST incorrectly determines
that my system doesn't support const because
the test code includes some unused variables
and the -Wall -Werror causes it to fail. It strikes
me that this is a bug with AC_C_CONST, and that
it should save CFLAGS before it attempts
to compile the test code.
Is this a bug with the macro, or am I misunderstanding
something?
It is a bug in the autoconf test. There is no reason for it to run
tests that result in warnings.
--
Måns Rullgård
mans@xxxxxxxxx
.
- References:
- AC_C_CONST bug?
- From: Bill Pursell
- AC_C_CONST bug?
- Prev by Date: Re: how to query huge page size?
- Next by Date: Debian package without any dependencies or pre-dependencies
- Previous by thread: AC_C_CONST bug?
- Next by thread: Re: AC_C_CONST bug?
- Index(es):
Relevant Pages
|