#
# This patch addresses problems with the configure script.
# As it is Solaris-specific, it is not suitable for upstream.
#
--- Python-3.5.2/configure.ac.~2~ 2016-07-08 06:42:00.483719423 -0700
+++ Python-3.5.2/configure.ac 2016-07-08 06:42:00.499219410 -0700
@@ -5,7 +5,7 @@
# Set VERSION so we only need to edit in one place (i.e., here)
m4_define(PYTHON_VERSION, 3.5)
-AC_PREREQ(2.65)
+AC_PREREQ(2.68)
AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
@@ -2427,12 +2427,6 @@
if test -z "$CCSHARED"
then
case $ac_sys_system/$ac_sys_release in
- SunOS*) if test "$GCC" = yes;
- then CCSHARED="-fPIC";
- elif test `uname -p` = sparc;
- then CCSHARED="-xcode=pic32";
- else CCSHARED="-Kpic";
- fi;;
hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fPIC";
else CCSHARED="+z";