changeset: 105241:76d1f8001e27 branch: 3.6 parent: 105236:0d2b42344ae5 parent: 105239:48526666321a user: Martin Panter date: Sun Nov 20 22:06:44 2016 +0000 files: Makefile.pre.in Misc/ACKS Misc/NEWS configure configure.ac description: Issue #10656: Merge AIX build fix from 3.5 diff -r 0d2b42344ae5 -r 76d1f8001e27 Makefile.pre.in --- a/Makefile.pre.in Sun Nov 20 21:16:41 2016 +0000 +++ b/Makefile.pre.in Sun Nov 20 22:06:44 2016 +0000 @@ -1421,7 +1421,7 @@ $(INSTALL_SCRIPT) $(srcdir)/Modules/makexp_aix \ $(DESTDIR)$(LIBPL)/makexp_aix; \ echo "$(LIBPL)/makexp_aix"; \ - $(INSTALL_SCRIPT) $(srcdir)/Modules/ld_so_aix \ + $(INSTALL_SCRIPT) Modules/ld_so_aix \ $(DESTDIR)$(LIBPL)/ld_so_aix; \ echo "$(LIBPL)/ld_so_aix"; \ echo; echo "See Misc/AIX-NOTES for details."; \ diff -r 0d2b42344ae5 -r 76d1f8001e27 Misc/ACKS --- a/Misc/ACKS Sun Nov 20 21:16:41 2016 +0000 +++ b/Misc/ACKS Sun Nov 20 22:06:44 2016 +0000 @@ -227,6 +227,7 @@ Daniel Calvelo Tony Campbell Brett Cannon +Tristan Carel Mike Carlton Pierre Carrier Terry Carroll @@ -581,6 +582,7 @@ Larry Hastings Tim Hatch Shane Hathaway +Michael Haubenwallner Janko Hauser Rycharde Hawkes Ben Hayden diff -r 0d2b42344ae5 -r 76d1f8001e27 Misc/NEWS --- a/Misc/NEWS Sun Nov 20 21:16:41 2016 +0000 +++ b/Misc/NEWS Sun Nov 20 22:06:44 2016 +0000 @@ -90,6 +90,9 @@ Build ----- +- Issue #10656: Fix out-of-tree building on AIX. Patch by Tristan Carel and + Michael Haubenwallner. + - Issue #26359: Rename --with-optimiations to --enable-optimizations. - Issue #28676: Prevent missing 'getentropy' declaration warning on macOS. diff -r 0d2b42344ae5 -r 76d1f8001e27 Modules/ld_so_aix.in --- a/Modules/ld_so_aix.in Sun Nov 20 21:16:41 2016 +0000 +++ b/Modules/ld_so_aix.in Sun Nov 20 22:06:44 2016 +0000 @@ -70,6 +70,7 @@ fi makexp=`dirname $0`/makexp_aix +test -x "${makexp}" || makexp="@abs_srcdir@/makexp_aix" # Check for existence of compiler. CC=$1; shift diff -r 0d2b42344ae5 -r 76d1f8001e27 configure --- a/configure Sun Nov 20 21:16:41 2016 +0000 +++ b/configure Sun Nov 20 22:06:44 2016 +0000 @@ -9165,7 +9165,7 @@ then case $ac_sys_system/$ac_sys_release in AIX*) - BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp" + BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp" LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp" ;; IRIX/5*) LDSHARED="ld -shared";; diff -r 0d2b42344ae5 -r 76d1f8001e27 configure.ac --- a/configure.ac Sun Nov 20 21:16:41 2016 +0000 +++ b/configure.ac Sun Nov 20 22:06:44 2016 +0000 @@ -2409,7 +2409,7 @@ then case $ac_sys_system/$ac_sys_release in AIX*) - BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp" + BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp" LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp" ;; IRIX/5*) LDSHARED="ld -shared";;