components/python/python34/patches/01-bits.patch
author John Beck <John.Beck@Oracle.COM>
Mon, 19 May 2014 07:37:20 -0700
changeset 1907 446472de62e9
child 1953 5c1face45dc8
permissions -rw-r--r--
PSARC 2014/151 Python 3.4 15819724 SUNBT7202228 python 3.4 18756157 upgrade setuptools to 0.9.6

#
# This patch addresses problems with the configure script.
# As it is Solaris-specific, it is not suitable for upstream.
#
--- Python-3.4.0/configure.ac.~1~	2014-03-16 19:31:31.000000000 -0700
+++ Python-3.4.0/configure.ac	2014-03-17 11:11:22.990261823 -0700
@@ -5,7 +5,7 @@
 # Set VERSION so we only need to edit in one place (i.e., here)
 m4_define(PYTHON_VERSION, 3.4)
 
-AC_PREREQ(2.65)
+AC_PREREQ(2.68)
 
 AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
 
@@ -2108,12 +2108,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";