[Python-checkins] cpython: - Don't use largefile support for GNU/Hurd.

matthias.klose python-checkins at python.org
Tue Jun 14 04:16:25 EDT 2016


https://hg.python.org/cpython/rev/8d493e1ec34b
changeset:   102015:8d493e1ec34b
user:        doko at ubuntu.com
date:        Tue Jun 14 10:15:25 2016 +0200
summary:
  - Don't use largefile support for GNU/Hurd.

files:
  Misc/NEWS    |  2 ++
  configure    |  6 +++++-
  configure.ac |  5 +++++
  3 files changed, 12 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -35,6 +35,8 @@
   Install the platform specifc _sysconfigdata module into the platform
   directory and rename it to include the ABIFLAGS.
 
+- Don't use largefile support for GNU/Hurd.
+
 
 What's New in Python 3.6.0 alpha 2
 ==================================
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -2890,7 +2890,6 @@
 
 
 
-
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   if test -f "$ac_dir/install-sh"; then
@@ -8018,6 +8017,11 @@
   use_lfs=no
 fi
 
+# Don't use largefile support for GNU/Hurd
+case $ac_sys_system in GNU*)
+  use_lfs=no
+esac
+
 if test "$use_lfs" = "yes"; then
 # Two defines needed to enable largefile support on various platforms
 # These may affect some typedefs
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1986,6 +1986,11 @@
   use_lfs=no
 fi
 
+# Don't use largefile support for GNU/Hurd
+case $ac_sys_system in GNU*)
+  use_lfs=no
+esac
+
 if test "$use_lfs" = "yes"; then
 # Two defines needed to enable largefile support on various platforms
 # These may affect some typedefs

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list