AC_GNU_SOURCE in bfd/

H. J. Lu hjl@lucon.org
Thu May 5 05:06:00 GMT 2005


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.



More information about the Binutils mailing list