components/python/python27/patches/00-bits.patch
author John Beck <John.Beck@Oracle.COM>
Mon, 07 Dec 2015 13:01:04 -0800
changeset 5183 3a048793fc91
parent 4698 4e27e549b58d
child 6445 0edecb568b2e
permissions -rw-r--r--
22331987 update Python 2.7 line to version 2.7.11

#
# This patch makes the pyconfig.h header file 32/64 bit friendly.
# As it is Solaris-specific, it is not suitable for upstream.
#
--- Python-2.7.10/configure.ac.~1~	2015-05-10 10:17:06 -0800
+++ Python-2.7.10/configure.ac	2015-05-18 14:25:00 -0800
@@ -5,7 +5,7 @@
 # Set VERSION so we only need to edit in one place (i.e., here)
 m4_define(PYTHON_VERSION, 2.7)
 
-AC_PREREQ(2.65)
+AC_PREREQ(2.68)
 
 AC_REVISION($Revision$)
 AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
@@ -2143,12 +2143,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";