From f2d244326511f9ec2e6677ed631e11ec3a89ba2d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 31 Aug 2007 15:06:11 +0000 Subject: [PATCH] 2007-08-31 H.J. Lu * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. * Makefile.in: Regenerated. * sysdep.h: Include "config.h" first. --- binutils/ChangeLog | 7 +++++++ binutils/Makefile.am | 3 +-- binutils/Makefile.in | 12 ++++++------ binutils/sysdep.h | 2 +- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4bb51144f9..892937688e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,10 @@ +2007-08-31 H.J. Lu + + * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. + * Makefile.in: Regenerated. + + * sysdep.h: Include "config.h" first. + 2007-08-31 Nick Clifton * po/sk.po: New Slovakian translation. diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 9590b18d4c..c9ac0dc754 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -71,8 +71,7 @@ INCDIR = $(BASEDIR)/include MKDEP = gcc -MM -INCLUDES = -D_GNU_SOURCE \ - -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ +INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ @HDEFINES@ \ @INCINTL@ \ -DLOCALEDIR="\"$(datadir)/locale\"" \ diff --git a/binutils/Makefile.in b/binutils/Makefile.in index e0fc8f3179..4bbaadd749 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -304,11 +304,9 @@ VERSION = @VERSION@ WARN_CFLAGS = @WARN_CFLAGS@ XGETTEXT = @XGETTEXT@ YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` -ac_ct_AR = @ac_ct_AR@ +YFLAGS = -d ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -ac_ct_RANLIB = @ac_ct_RANLIB@ -ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ @@ -325,6 +323,7 @@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ +dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ @@ -337,13 +336,16 @@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ +localedir = @localedir@ localstatedir = @localstatedir@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ +psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ @@ -356,7 +358,6 @@ AUTOMAKE_OPTIONS = cygnus dejagnu ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd SUBDIRS = doc po tooldir = $(exec_prefix)/$(target_alias) -YFLAGS = -d AM_CFLAGS = $(WARN_CFLAGS) # these two are almost the same program @@ -392,8 +393,7 @@ BASEDIR = $(srcdir)/.. BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include MKDEP = gcc -MM -INCLUDES = -D_GNU_SOURCE \ - -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ +INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ @HDEFINES@ \ @INCINTL@ \ -DLOCALEDIR="\"$(datadir)/locale\"" \ diff --git a/binutils/sysdep.h b/binutils/sysdep.h index 3ac45fa4cf..0d7e250110 100644 --- a/binutils/sysdep.h +++ b/binutils/sysdep.h @@ -21,12 +21,12 @@ #ifndef _BIN_SYSDEP_H #define _BIN_SYSDEP_H +#include "config.h" #include "ansidecl.h" #include #include #include "bfdver.h" -#include "config.h" #include -- 2.11.0