aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-11-11 04:42:42 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-11-11 04:42:42 +0000
commitda2f07f1aa5f8bdeb957df2c520f1d46e6f21bd5 (patch)
tree97405de8cb06870d2cbda72609150c791f26bd88 /bfd/configure
parent82337b290172451ce9332bfd0b730741dd1bfb0c (diff)
downloadgdb-da2f07f1aa5f8bdeb957df2c520f1d46e6f21bd5.zip
gdb-da2f07f1aa5f8bdeb957df2c520f1d46e6f21bd5.tar.gz
gdb-da2f07f1aa5f8bdeb957df2c520f1d46e6f21bd5.tar.bz2
bfd/
* configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. binutils/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_PLUGINS, AC_SYS_LARGEFILE and checking the Solaris largefile exception. * aclocal.m4: Regenerate. * configure: Regenerate. gas/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. gdb/ * configure.ac: Call ACX_LARGEFILE. * aclocal.m4: Call m4_include for ../config/largefile.m4 and ../config/plugins.m4. * configure: Regenerate. * config.in: Regenerate. gprof/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate. ld/ * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. * aclocal.m4: Regenerate. * configure: Regenerate.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure51
1 files changed, 27 insertions, 24 deletions
diff --git a/bfd/configure b/bfd/configure
index d5aec74..bef4a39 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -11629,6 +11629,11 @@ CC="$lt_save_CC"
+# AC_PLUGINS setting $plugins is called by ACX_LARGEFILE.
+
+# As the $enable_largefile decision depends on --enable-plugins we must set it
+# even in directories otherwise not depending on the $plugins option.
+
# Check whether --enable-plugins was given.
if test "${enable_plugins+set}" = set; then :
@@ -11643,36 +11648,16 @@ fi
- if test "$plugins" = "yes"; then
- PLUGINS_TRUE=
- PLUGINS_FALSE='#'
-else
- PLUGINS_TRUE='#'
- PLUGINS_FALSE=
-fi
-
-
-if test "$plugins" = "yes"; then
- if test "$enable_dlopen" != "yes" ; then
- as_fn_error "
- Building BFD with plugin support requires a host that supports -ldl." "$LINENO" 5
- fi
- enable_targets="$enable_targets plugin"
-fi
-
-case "${target}" in
+case "${host}" in
sparc-*-solaris*|i[3-7]86-*-solaris*)
# On native 32bit sparc and ia32 solaris, large-file and procfs support
- # are mutually exclusive; and without procfs support, the elf module
+ # are mutually exclusive; and without procfs support, the bfd/ elf module
# cannot provide certain routines such as elfcore_write_prpsinfo
# or elfcore_write_prstatus. So unless the user explicitly requested
# large-file support through the --enable-largefile switch, disable
# large-file support in favor of procfs support.
- if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
- if test "$plugins" = "no"; then
- enable_largefile="no"
- fi
- fi
+ test "${target}" = "${host}" -a "x$plugins" = xno \
+ && : ${enable_largefile="no"}
;;
esac
@@ -11875,6 +11860,24 @@ rm -rf conftest*
fi
+
+ if test "$plugins" = "yes"; then
+ PLUGINS_TRUE=
+ PLUGINS_FALSE='#'
+else
+ PLUGINS_TRUE='#'
+ PLUGINS_FALSE=
+fi
+
+
+if test "$plugins" = "yes"; then
+ if test "$enable_dlopen" != "yes" ; then
+ as_fn_error "
+ Building BFD with plugin support requires a host that supports -ldl." "$LINENO" 5
+ fi
+ enable_targets="$enable_targets plugin"
+fi
+
# Check whether --enable-64-bit-bfd was given.
if test "${enable_64_bit_bfd+set}" = set; then :
enableval=$enable_64_bit_bfd; case "${enableval}" in