summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-02-19 08:58:23 (GMT)
committerGeorg Brandl <georg@python.org>2011-02-19 08:58:23 (GMT)
commit216e404bca5485ca2bf837b9f351731c535702d8 (patch)
treec2b5e4fe9c9a589748415d876a5a022a0e2c6e93 /configure
parent6e8d17c06271d6841b6c8cc8f8cdf6ffd2ef6c70 (diff)
downloadcpython-216e404bca5485ca2bf837b9f351731c535702d8.zip
cpython-216e404bca5485ca2bf837b9f351731c535702d8.tar.gz
cpython-216e404bca5485ca2bf837b9f351731c535702d8.tar.bz2
#11184: Fix large file support on AIX.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index 63fae0f..96747ff 100755
--- a/configure
+++ b/configure
@@ -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 @@ fi
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