Merged revisions 88438,88440 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r88438 | georg.brandl | 2011-02-19 09:44:47 +0100 (Sa, 19 Feb 2011) | 1 line
#10709: add back an updated AIX-NOTES (as README.AIX).
........
r88440 | georg.brandl | 2011-02-19 09:58:23 +0100 (Sa, 19 Feb 2011) | 1 line
#11184: Fix large file support on AIX.
........
diff --git a/configure.in b/configure.in
index a24e54b..d1833be 100644
--- a/configure.in
+++ b/configure.in
@@ -1395,6 +1395,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,