diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-11-13 23:09:47 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-11-13 23:09:47 +0000 |
commit | 08c13eba506ec56aa5d38c8121cf3fd8e4d1ea63 (patch) | |
tree | 71bbcc7ba6e7cb87066bf74f1f66505bb98d706b /bfd/configure.in | |
parent | 06be140c21c96663f74061fb7f1375020196655e (diff) | |
download | fsf-binutils-gdb-08c13eba506ec56aa5d38c8121cf3fd8e4d1ea63.zip fsf-binutils-gdb-08c13eba506ec56aa5d38c8121cf3fd8e4d1ea63.tar.gz fsf-binutils-gdb-08c13eba506ec56aa5d38c8121cf3fd8e4d1ea63.tar.bz2 |
* configure.in: Deactivate large-file support on native 32bit
sparc-solaris unless the user explicitly requested it.
* configure: Regenerate.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r-- | bfd/configure.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bfd/configure.in b/bfd/configure.in index bcc4615..22ceb61 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -22,6 +22,21 @@ AC_DISABLE_SHARED AC_PROG_CC AC_GNU_SOURCE AC_USE_SYSTEM_EXTENSIONS + +case "${target}" in + sparc-*-solaris*) + # On native 32bit sparc-solaris, large-file and procfs support are + # mutually exclusive; and without procfs support, the 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 + enable_largefile="no" + fi + ;; +esac + AC_SYS_LARGEFILE LT_INIT |