2009-05-28 Nick Clifton <nickc@redhat.com>
[deliverable/binutils-gdb.git] / binutils / configure.in
index 9931eb2746907804c523019df24f13db1bf526b0..6f9b3d022ffaea9a6af54ce77927b707fa16cb2b 100644 (file)
@@ -15,6 +15,25 @@ AM_INIT_AUTOMAKE(binutils, ${BFD_VERSION})
 AC_PROG_CC
 AC_GNU_SOURCE
 AC_USE_SYSTEM_EXTENSIONS
+
+AC_PLUGINS
+
+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
+      if test "$plugins" = "no"; then
+        enable_largefile="no"
+      fi
+    fi
+    ;;
+esac
+
 AC_SYS_LARGEFILE
 LT_INIT
 
This page took 0.023347 seconds and 4 git commands to generate.