* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
authorAlan Modra <amodra@gmail.com>
Wed, 24 Oct 2007 04:56:48 +0000 (04:56 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 24 Oct 2007 04:56:48 +0000 (04:56 +0000)
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.

ld/ChangeLog
ld/Makefile.am
ld/Makefile.in
ld/config.in
ld/configure
ld/configure.in
ld/po/POTFILES.in

index 1ecce86934e63981def7fa0d4f65b6c495de83b5..768913ec1b946b4bb5a22d0b2536c62f98ada3cf 100644 (file)
@@ -1,3 +1,12 @@
+2007-10-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
+       * configure.in: Invoke AC_GNU_SOURCE.
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
 2007-10-19  Nick Clifton  <nickc@redhat.com>
 
        * configure.tgt: Add support for am34-linux-gnu target.
index f7d2d089412bbffa1b33d97c8bf19d7f6d8dd376..f1a6108b1c02573094d6fe8db05905e520009edb 100644 (file)
@@ -101,7 +101,7 @@ AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
                    -I $(top_srcdir)/../libiberty
 
-INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
+INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
        @INCINTL@ $(HDEFINES) $(CFLAGS) \
        -DLOCALEDIR="\"$(datadir)/locale\""
 
index 3368bdf64042a99082e751e66c307ab0eab91e92..58a8bd1aed91152bbe9ca0e4a67ebc82e7357fa4 100644 (file)
@@ -228,9 +228,11 @@ 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`
-YFLAGS = -d
+ac_ct_AR = @ac_ct_AR@
 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@
@@ -247,7 +249,6 @@ build_vendor = @build_vendor@
 datadir = @datadir@
 datarootdir = @datarootdir@
 docdir = @docdir@
-dvidir = @dvidir@
 exec_prefix = @exec_prefix@
 host = @host@
 host_alias = @host_alias@
@@ -260,16 +261,13 @@ 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@
@@ -283,6 +281,7 @@ AUTOMAKE_OPTIONS = cygnus dejagnu
 ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
 SUBDIRS = po
 tooldir = $(exec_prefix)/$(target_alias)
+YFLAGS = -d
 AM_CFLAGS = $(WARN_CFLAGS)
 
 # We put the scripts in the directory $(scriptdir)/ldscripts.
@@ -350,7 +349,7 @@ AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
 TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
                    -I $(top_srcdir)/../libiberty
 
-INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
+INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
        @INCINTL@ $(HDEFINES) $(CFLAGS) \
        -DLOCALEDIR="\"$(datadir)/locale\""
 
index cae19e76240a526f9c711ae17a4f15a9d3e31c5f..3d663b8a37378c9bc04660c019cf2e83610a1870 100644 (file)
 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
    `char[]'. */
 #undef YYTEXT_POINTER
+
+/* Enable GNU extensions on systems that have them.  */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif
index e55c9ece2f6f5272480e7f0483caa3159a0b4087..59020193d1c74adc7cef499073ec27fc2799e8b9 100755 (executable)
@@ -10404,6 +10404,12 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
+cat >>confdefs.h <<\_ACEOF
+#define _GNU_SOURCE 1
+_ACEOF
+
+
 # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or
 # incompatible versions:
@@ -14584,7 +14590,7 @@ done
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
index 05c84675ee5751e9aeb5717bccd1d90ff684e72d..ccd49d11abb12745a96cb4fb5f3b59aee8a08df9 100644 (file)
@@ -83,6 +83,7 @@ fi
 # host-specific stuff:
 
 AC_PROG_CC
+AC_GNU_SOURCE
 AC_PROG_INSTALL
 
 ALL_LINGUAS="fr sv tr es da vi zh_CN zh_TW ga fi"
index 3118cfa4b5f7374e4f12397c8b7aa8aaf10c5497..470da3921f8792ca39df097264e487a0c9be0e88 100644 (file)
@@ -30,3 +30,5 @@ pe-dll.c
 pe-dll.h
 pep-dll.c
 pep-dll.h
+sha1.c
+sha1.h
This page took 0.033551 seconds and 4 git commands to generate.