This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: AC_GNU_SOURCE in bfd/
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 4 May 2005 22:05:08 -0700
- Subject: Re: AC_GNU_SOURCE in bfd/
- References: <200505050346.j453kudE002729@ignucius.se.axis.com>
On Thu, May 05, 2005 at 05:46:56AM +0200, Hans-Peter Nilsson wrote:
> This is what I committed, after testing native on
> x86_64-unknown-linux-gnu (FC4t2), on the i686-pc-linux-gnu
> (RH 7.3) autotester, and cross to cris-axis-elf (this one with
> the sysdep.h reversion, not included in this email).
>
> The only ramifications I noticed was that a bunch of
> "checking whether x is declared... no"
> turned "yes", and of course that -D_GNU_SOURCE isn't specified
> on the command line (but in config.h).
>
> * Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here.
> * configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC.
Can you check out doc/Makefile.am? You may need to do
# make install
to see -D_GNU_SOURCE in bfd/doc.
Thanks.
H.J.