[Python-checkins] r54283 - in python/trunk: Misc/NEWS configure configure.in

martin.v.loewis python-checkins at python.org
Mon Mar 12 11:50:43 CET 2007


Author: martin.v.loewis
Date: Mon Mar 12 11:50:39 2007
New Revision: 54283

Modified:
   python/trunk/Misc/NEWS
   python/trunk/configure
   python/trunk/configure.in
Log:
Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.


Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Mon Mar 12 11:50:39 2007
@@ -619,6 +619,8 @@
 Build
 -----
 
+- Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
+
 - Disable _XOPEN_SOURCE on NetBSD 1.x.
 
 - configure now checks whether gcc supports the PyArg_ParseTuple format

Modified: python/trunk/configure
==============================================================================
--- python/trunk/configure	(original)
+++ python/trunk/configure	Mon Mar 12 11:50:39 2007
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 53508 .
+# From configure.in Revision: 53826 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.6.
 #
@@ -11623,9 +11623,11 @@
 then
 	case $ac_sys_system/$ac_sys_release in
 	SunOS*) if test "$GCC" = yes;
-	        then CCSHARED="-fPIC";
-		else CCSHARED="-xcode=pic32";
-	        fi;;
+		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";

Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in	(original)
+++ python/trunk/configure.in	Mon Mar 12 11:50:39 2007
@@ -1571,9 +1571,11 @@
 then
 	case $ac_sys_system/$ac_sys_release in
 	SunOS*) if test "$GCC" = yes;
-	        then CCSHARED="-fPIC";
-		else CCSHARED="-xcode=pic32";
-	        fi;;
+		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";


More information about the Python-checkins mailing list