This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: sysdep.h:stpcpy change caused build error in autotester
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: drow at false dot org
- Cc: hjl at lucon dot org, hans-peter dot nilsson at axis dot com, binutils at sourceware dot org
- Date: Thu, 5 May 2005 01:53:55 +0200
- Subject: Re: sysdep.h:stpcpy change caused build error in autotester
> Date: Wed, 4 May 2005 19:31:25 -0400
> From: Daniel Jacobowitz <drow@false.org>
> If the macro is in scope but the decl isn't, something's mighty wrong
> with system headers. BFD is building with -D_GNU_SOURCE; did the
> configure check run with -D_GNU_SOURCE?
Just the obvious configure.in bit missing.
This ok? I'll revert my other patch then.
* configure.in: Add AC_GNU_SOURCE.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/bfd/configure.in,v
retrieving revision 1.178
diff -p -c -r1.178 configure.in
*** configure.in 22 Apr 2005 13:58:14 -0000 1.178
--- configure.in 4 May 2005 23:49:57 -0000
*************** bfd_default_target_size=32
*** 70,75 ****
--- 70,76 ----
# host stuff:
AC_PROG_CC
+ AC_GNU_SOURCE
ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw"
CY_GNU_GETTEXT
brgds, H-P