[Python-checkins] r88440 - in python/branches/py3k: Misc/NEWS configure configure.in
georg.brandl
python-checkins at python.org
Sat Feb 19 09:58:24 CET 2011
Author: georg.brandl
Date: Sat Feb 19 09:58:23 2011
New Revision: 88440
Log:
#11184: Fix large file support on AIX.
Modified:
python/branches/py3k/Misc/NEWS
python/branches/py3k/configure
python/branches/py3k/configure.in
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Sat Feb 19 09:58:23 2011
@@ -18,6 +18,8 @@
- Issue #11222: Fix non-framework shared library build on Mac OS X.
+- Issue #11184: Fix large-file support on AIX.
+
- Issue #941346: Fix broken shared library build on AIX.
Documentation
Modified: python/branches/py3k/configure
==============================================================================
--- python/branches/py3k/configure (original)
+++ python/branches/py3k/configure Sat Feb 19 09:58:23 2011
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 88426 .
+# From configure.in Revision: 88430 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for python 3.2.
#
@@ -6414,6 +6414,13 @@
if test "$use_lfs" = "yes"; then
# Two defines needed to enable largefile support on various platforms
# These may affect some typedefs
+case $ac_sys_system/$ac_sys_release in
+AIX*)
+
+$as_echo "#define _LARGE_FILES 1" >>confdefs.h
+
+ ;;
+esac
$as_echo "#define _LARGEFILE_SOURCE 1" >>confdefs.h
Modified: python/branches/py3k/configure.in
==============================================================================
--- python/branches/py3k/configure.in (original)
+++ python/branches/py3k/configure.in Sat Feb 19 09:58:23 2011
@@ -1376,6 +1376,12 @@
if test "$use_lfs" = "yes"; then
# Two defines needed to enable largefile support on various platforms
# These may affect some typedefs
+case $ac_sys_system/$ac_sys_release in
+AIX*)
+ AC_DEFINE(_LARGE_FILES, 1,
+ [This must be defined on AIX systems to enable large file support.])
+ ;;
+esac
AC_DEFINE(_LARGEFILE_SOURCE, 1,
[This must be defined on some systems to enable large file support.])
AC_DEFINE(_FILE_OFFSET_BITS, 64,
More information about the Python-checkins
mailing list