aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index 9931eb2..e35b169 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -15,6 +15,21 @@ AM_INIT_AUTOMAKE(binutils, ${BFD_VERSION})
AC_PROG_CC
AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
+
+case "${target}" in
+changequote(,)dnl
+ sparc-*-solaris*|i[3-7]86-*-solaris*)
+changequote([,])dnl
+ # See comment in bfd/configure.in for the reason for this test.
+ # PR 9992/binutils: We have to duplicate the behaviour of bfd's
+ # configure script so that the utilities in this directory agree
+ # on the size of structures used to describe files.
+ if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
+ enable_largefile="no"
+ fi
+ ;;
+esac
+
AC_SYS_LARGEFILE
LT_INIT