Use -xcode=pic32 for SunPro. Will backport to 2.4.
diff --git a/configure b/configure
index 5ce0234..179259d 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 39267 .
+# From configure.in Revision: 41764 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.5.
 #
@@ -10413,6 +10413,7 @@
 	case $ac_sys_system/$ac_sys_release in
 	SunOS*) if test "$GCC" = yes;
 	        then CCSHARED="-fPIC";
+		else CCSHARED="-xcode=pic32";
 	        fi;;
 	hp*|HP*) if test "$GCC" = yes;
 		 then CCSHARED="-fPIC";