[Python-checkins] r54284 - in python/branches/release25-maint: Misc/NEWS configure configure.in

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


Author: martin.v.loewis
Date: Mon Mar 12 11:50:51 2007
New Revision: 54284
Modified:
 python/branches/release25-maint/Misc/NEWS
 python/branches/release25-maint/configure
 python/branches/release25-maint/configure.in
Log:
Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Mon Mar 12 11:50:51 2007
@@ -378,6 +378,8 @@
 Build
 -----
 
+- Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
+
 - Disable _XOPEN_SOURCE on NetBSD 1.x.
 
 - Bug #1578513: Cross compilation was broken by a change to configure.
Modified: python/branches/release25-maint/configure
==============================================================================
--- python/branches/release25-maint/configure	(original)
+++ python/branches/release25-maint/configure	Mon Mar 12 11:50:51 2007
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 52457 .
+# From configure.in Revision: 52844 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.5.
 #
@@ -11085,9 +11085,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/branches/release25-maint/configure.in
==============================================================================
--- python/branches/release25-maint/configure.in	(original)
+++ python/branches/release25-maint/configure.in	Mon Mar 12 11:50:51 2007
@@ -1544,9 +1544,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

AltStyle によって変換されたページ (->オリジナル) /