aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-03-31 08:08:33 +0000
committerNick Clifton <nickc@redhat.com>2009-03-31 08:08:33 +0000
commite35251173842f4f5f2b4ef0337a16b14793f48e2 (patch)
treee698212361fb68ac36b25df5b9f90e43fbd3b14a /binutils/configure.in
parent1042e4c05807ca36c83ed8882cb624e45ec43757 (diff)
downloadgdb-e35251173842f4f5f2b4ef0337a16b14793f48e2.zip
gdb-e35251173842f4f5f2b4ef0337a16b14793f48e2.tar.gz
gdb-e35251173842f4f5f2b4ef0337a16b14793f48e2.tar.bz2
PR 9992
* configure.in: Import Solaris specific largefile test from bfd/configure.in. * configure: Regenerate.
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