aboutsummaryrefslogtreecommitdiff
path: root/ld/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-10-24 04:56:48 +0000
committerAlan Modra <amodra@gmail.com>2007-10-24 04:56:48 +0000
commit67310ccd0ea72ebe9374ba4478a7357cd7a00790 (patch)
tree38c5889c09fc77b6cc6d2a8f3e620d711749b5fa /ld/configure
parent0ab6f08504f254395c6107b56a033811299c9ecd (diff)
downloadfsf-binutils-gdb-67310ccd0ea72ebe9374ba4478a7357cd7a00790.zip
fsf-binutils-gdb-67310ccd0ea72ebe9374ba4478a7357cd7a00790.tar.gz
fsf-binutils-gdb-67310ccd0ea72ebe9374ba4478a7357cd7a00790.tar.bz2
* 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.
Diffstat (limited to 'ld/configure')
-rwxr-xr-xld/configure8
1 files changed, 7 insertions, 1 deletions
diff --git a/ld/configure b/ld/configure
index e55c9ec..5902019 100755
--- a/ld/configure
+++ b/ld/configure
@@ -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