disable largefile support on x86-solaris by default

Joel Brobecker brobecker@adacore.com
Tue Nov 25 19:09:00 GMT 2008


> I'd be happier if you used changequote rather than [[ and ]] here,
> simply because that's the idiom used in the rest of the file when
> match i[3-7]86.  OK with that change.

Sure - I didn't notice that changequote was the standard idiom...
Attached is what I ended up checking in. The resulting configure
script is unchanged compared to the previous version.

2008-11-25  Joel Brobecker  <brobecker@adacore.com>

        * configure.in: Deactivate large-file support on native x86-solaris
        as well unless the user explicitly requested it.
        * configure: Regenerate.

-- 
Joel
-------------- next part --------------
diff --git a/bfd/configure.in b/bfd/configure.in
index 22ceb61..7297ee0 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -24,9 +24,11 @@ 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
+changequote(,)dnl
+  sparc-*-solaris*|i[3-7]86-*-solaris*)
+changequote([,])dnl
+    # On native 32bit sparc and ia32 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
diff --git a/bfd/configure b/bfd/configure
index 9827e6c..042f5d1 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -4936,9 +4936,9 @@ _ACEOF
 
 
 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
+  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
     # 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


More information about the Binutils mailing list