summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2016-06-14 08:15:25 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2016-06-14 08:15:25 (GMT)
commit006a56ceda1ad9c9b1caf6be14d87b3fee87c89a (patch)
tree3045353533836ac133ba5000a2a955c23d48fdc3
parenteea86b0bc0bbec2bd9bdacf2a3f174af7e170942 (diff)
downloadcpython-006a56ceda1ad9c9b1caf6be14d87b3fee87c89a.zip
cpython-006a56ceda1ad9c9b1caf6be14d87b3fee87c89a.tar.gz
cpython-006a56ceda1ad9c9b1caf6be14d87b3fee87c89a.tar.bz2
- Don't use largefile support for GNU/Hurd.
-rw-r--r--Misc/NEWS2
-rwxr-xr-xconfigure6
-rw-r--r--configure.ac5
3 files changed, 12 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 46e4296..0238f37 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -35,6 +35,8 @@ Build
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
index 3853716..7b02530 100755
--- a/configure
+++ b/configure
@@ -2890,7 +2890,6 @@ ac_config_headers="$ac_config_headers pyconfig.h"
-
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
@@ -8018,6 +8017,11 @@ if test "$sol_lfs_bug" = "yes"; then
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
index fa1bdec..39d12e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1986,6 +1986,11 @@ if test "$sol_lfs_bug" = "yes"; then
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