aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-10-16 15:15:50 +0000
committerNick Clifton <nickc@redhat.com>2007-10-16 15:15:50 +0000
commit8bc9c89276b610c8688f2b350178e1fc4900fb74 (patch)
treecb386fccd189d22761ca807ac441e9c306169b37 /bfd/configure
parent504b7d2026f1fbbe912b6f513c069c0d47ba2505 (diff)
downloadgdb-8bc9c89276b610c8688f2b350178e1fc4900fb74.zip
gdb-8bc9c89276b610c8688f2b350178e1fc4900fb74.tar.gz
gdb-8bc9c89276b610c8688f2b350178e1fc4900fb74.tar.bz2
PR 5146
* configure.in (AC_CHECK_HEADERS): Add alloca.h * configure: Regenerate. * config.in: Regenerate. * som.c: Replace alloca-conf.h inclusion with code recommended in autoconf documentation. * elf64-hppa.c: Likewise.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure15
1 files changed, 6 insertions, 9 deletions
diff --git a/bfd/configure b/bfd/configure
index 806ee7e..c15a118 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -10531,14 +10531,11 @@ echo "$as_me: error: bad value ${enableval} for ELF STT_COMMON option" >&2;}
esac
else
# We have to choose a default behaviour. For native builds we could
-# test whether the loader supports the STT_COMMON type. For cross
-# toolchains we default to assuming that they are not supported.
-if test "$cross_compiling" != yes; then
- want_elf_stt_common=false
- else
- # XXX FIXME: Add code to test the loader here.
+# test whether the loader supports the STT_COMMON type, but that would
+# mean that built binaries could not be exported to older systems where
+# the loader does not support it. So by default we always choose to
+# disable this feature.
want_elf_stt_common=false
- fi
fi; if test $want_elf_stt_common = true; then
cat >>confdefs.h <<\_ACEOF
@@ -10549,7 +10546,6 @@ fi
-
# Check whether --with-pkgversion or --without-pkgversion was given.
if test "${with_pkgversion+set}" = set; then
withval="$with_pkgversion"
@@ -12548,7 +12544,8 @@ fi
-for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h
+
+for ac_header in alloca.h stddef.h string.h strings.h stdlib.h time.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then