components/python/python34/patches/01-bits.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 19 Jun 2014 13:53:07 -0700
changeset 1953 5c1face45dc8
parent 1907 446472de62e9
child 2183 5d00686e81da
permissions -rw-r--r--
19004593 update Python to 3.4.1

#
# This patch addresses problems with the configure script.
# As it is Solaris-specific, it is not suitable for upstream.
#
--- Python-3.4.1/configure.ac.~2~	2014-05-27 10:56:02.639102829 -0700
+++ Python-3.4.1/configure.ac	2014-05-27 10:56:02.659169307 -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/)
 
@@ -2097,12 +2097,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";