From 006a56ceda1ad9c9b1caf6be14d87b3fee87c89a Mon Sep 17 00:00:00 2001 From: "doko@ubuntu.com" Date: Tue, 14 Jun 2016 10:15:25 +0200 Subject: [PATCH] - Don't use largefile support for GNU/Hurd. --- Misc/NEWS | 2 ++ configure | 6 +++++- configure.ac | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index 46e4296d235..0238f373144 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 38537162278..7b025305973 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 fa1bdec1385..39d12e98de3 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