This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]