aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-08-31 15:06:11 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-08-31 15:06:11 +0000
commitf469d32bb9cb3e0bf4033c0c25a3701a303e7e14 (patch)
tree2c358376067264d3d89cbd5e349536f699b40392
parent3a4743fef3df74c486f23cedca987be77b43dd7a (diff)
downloadgdb-f469d32bb9cb3e0bf4033c0c25a3701a303e7e14.zip
gdb-f469d32bb9cb3e0bf4033c0c25a3701a303e7e14.tar.gz
gdb-f469d32bb9cb3e0bf4033c0c25a3701a303e7e14.tar.bz2
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE. * Makefile.in: Regenerated. * sysdep.h: Include "config.h" first.
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/Makefile.am3
-rw-r--r--binutils/Makefile.in12
-rw-r--r--binutils/sysdep.h2
4 files changed, 15 insertions, 9 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 4bb5114..8929376 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
+ * Makefile.in: Regenerated.
+
+ * sysdep.h: Include "config.h" first.
+
2007-08-31 Nick Clifton <nickc@redhat.com>
* po/sk.po: New Slovakian translation.
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 9590b18..c9ac0dc 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 e0fc8f3..4bbaadd 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 3ac45fa..0d7e250 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 <stdio.h>
#include <sys/types.h>
#include "bfdver.h"
-#include "config.h"
#include <stdarg.h>