|
@@ -10,7 +10,7 @@ Index: b/configure.ac
|
|
===================================================================
|
|
===================================================================
|
|
--- a/configure.ac
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
+++ b/configure.ac
|
|
-@@ -879,6 +879,7 @@
|
|
|
|
|
|
+@@ -882,6 +882,7 @@
|
|
|
|
|
|
# Other platforms follow
|
|
# Other platforms follow
|
|
if test $enable_shared = "yes"; then
|
|
if test $enable_shared = "yes"; then
|
|
@@ -18,7 +18,7 @@ Index: b/configure.ac
|
|
AC_DEFINE(Py_ENABLE_SHARED, 1, [Defined if Python is built as a shared library.])
|
|
AC_DEFINE(Py_ENABLE_SHARED, 1, [Defined if Python is built as a shared library.])
|
|
case $ac_sys_system in
|
|
case $ac_sys_system in
|
|
BeOS*)
|
|
BeOS*)
|
|
-@@ -939,6 +940,7 @@
|
|
|
|
|
|
+@@ -942,6 +943,7 @@
|
|
|
|
|
|
esac
|
|
esac
|
|
else # shared is disabled
|
|
else # shared is disabled
|
|
@@ -26,7 +26,7 @@ Index: b/configure.ac
|
|
case $ac_sys_system in
|
|
case $ac_sys_system in
|
|
CYGWIN*)
|
|
CYGWIN*)
|
|
BLDLIBRARY='$(LIBRARY)'
|
|
BLDLIBRARY='$(LIBRARY)'
|
|
-@@ -1915,6 +1917,9 @@
|
|
|
|
|
|
+@@ -1918,6 +1920,9 @@
|
|
AC_SUBST(BLDSHARED)
|
|
AC_SUBST(BLDSHARED)
|
|
AC_SUBST(CCSHARED)
|
|
AC_SUBST(CCSHARED)
|
|
AC_SUBST(LINKFORSHARED)
|
|
AC_SUBST(LINKFORSHARED)
|
|
@@ -36,8 +36,8 @@ Index: b/configure.ac
|
|
# SO is the extension of shared libraries `(including the dot!)
|
|
# SO is the extension of shared libraries `(including the dot!)
|
|
# -- usually .so, .sl on HP-UX, .dll on Cygwin
|
|
# -- usually .so, .sl on HP-UX, .dll on Cygwin
|
|
AC_MSG_CHECKING(SO)
|
|
AC_MSG_CHECKING(SO)
|
|
-@@ -4563,7 +4568,7 @@
|
|
|
|
- AC_MSG_RESULT(done)
|
|
|
|
|
|
+@@ -4581,7 +4586,7 @@
|
|
|
|
+ AC_SUBST(ENSUREPIP)
|
|
|
|
|
|
# generate output files
|
|
# generate output files
|
|
-AC_CONFIG_FILES(Makefile.pre Modules/Setup.config Misc/python.pc)
|
|
-AC_CONFIG_FILES(Makefile.pre Modules/Setup.config Misc/python.pc)
|
|
@@ -49,7 +49,7 @@ Index: b/Makefile.pre.in
|
|
===================================================================
|
|
===================================================================
|
|
--- a/Makefile.pre.in
|
|
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
-@@ -163,7 +163,7 @@
|
|
|
|
|
|
+@@ -166,7 +166,7 @@
|
|
SUBDIRSTOO= Include Lib Misc Demo
|
|
SUBDIRSTOO= Include Lib Misc Demo
|
|
|
|
|
|
# Files and directories to be distributed
|
|
# Files and directories to be distributed
|
|
@@ -58,7 +58,7 @@ Index: b/Makefile.pre.in
|
|
DISTFILES= README ChangeLog $(CONFIGFILES)
|
|
DISTFILES= README ChangeLog $(CONFIGFILES)
|
|
DISTDIRS= $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy
|
|
DISTDIRS= $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy
|
|
DIST= $(DISTFILES) $(DISTDIRS)
|
|
DIST= $(DISTFILES) $(DISTDIRS)
|
|
-@@ -407,7 +407,7 @@
|
|
|
|
|
|
+@@ -410,7 +410,7 @@
|
|
|
|
|
|
# Default target
|
|
# Default target
|
|
all: build_all
|
|
all: build_all
|
|
@@ -67,7 +67,7 @@ Index: b/Makefile.pre.in
|
|
|
|
|
|
# Compile a binary with gcc profile guided optimization.
|
|
# Compile a binary with gcc profile guided optimization.
|
|
profile-opt:
|
|
profile-opt:
|
|
-@@ -1068,10 +1068,12 @@
|
|
|
|
|
|
+@@ -1101,10 +1101,12 @@
|
|
fi; \
|
|
fi; \
|
|
cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen
|
|
cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen
|
|
|
|
|
|
@@ -82,7 +82,7 @@ Index: b/Makefile.pre.in
|
|
|
|
|
|
# Install the include files
|
|
# Install the include files
|
|
INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)
|
|
INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)
|
|
-@@ -1130,7 +1132,7 @@
|
|
|
|
|
|
+@@ -1163,7 +1165,7 @@
|
|
$(INSTALL_SCRIPT) $(srcdir)/Modules/makesetup $(DESTDIR)$(LIBPL)/makesetup
|
|
$(INSTALL_SCRIPT) $(srcdir)/Modules/makesetup $(DESTDIR)$(LIBPL)/makesetup
|
|
$(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh
|
|
$(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh
|
|
$(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(VERSION)-config
|
|
$(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(VERSION)-config
|
|
@@ -91,7 +91,7 @@ Index: b/Makefile.pre.in
|
|
@if [ -s Modules/python.exp -a \
|
|
@if [ -s Modules/python.exp -a \
|
|
"`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \
|
|
"`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \
|
|
echo; echo "Installing support files for building shared extension modules on AIX:"; \
|
|
echo; echo "Installing support files for building shared extension modules on AIX:"; \
|
|
-@@ -1312,6 +1314,7 @@
|
|
|
|
|
|
+@@ -1345,6 +1347,7 @@
|
|
config.cache config.log pyconfig.h Modules/config.c
|
|
config.cache config.log pyconfig.h Modules/config.c
|
|
-rm -rf build platform
|
|
-rm -rf build platform
|
|
-rm -rf $(PYTHONFRAMEWORKDIR)
|
|
-rm -rf $(PYTHONFRAMEWORKDIR)
|