aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-05-05 03:42:02 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-05-05 03:42:02 +0000
commit4a2a2686740b09cb3a7e2947f08ba8d638949329 (patch)
tree5e28c808bcc8aa2e68dccc6626f6cff5e7ccc85c /bfd/configure
parent5cfd5a0c98ac5b7526514b7d3764be9ce0714900 (diff)
downloadgdb-4a2a2686740b09cb3a7e2947f08ba8d638949329.zip
gdb-4a2a2686740b09cb3a7e2947f08ba8d638949329.tar.gz
gdb-4a2a2686740b09cb3a7e2947f08ba8d638949329.tar.bz2
* Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here.
* configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC. * configure, config.in, Makefile.in: Regenerate. * sysdep.h (stpcpy): Revert last change.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/configure b/bfd/configure
index 06e04ca..a852b86 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -5138,6 +5138,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+cat >>confdefs.h <<\_ACEOF
+#define _GNU_SOURCE 1
+_ACEOF
+
+
+
ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw"
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.