summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-03-12 10:50:39 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-03-12 10:50:39 (GMT)
commiteb62357a2e8c18fc014e9e977acf1e2026e5d9cf (patch)
tree0043501df576f3c02ca5d101201060faa5ad1bfa /configure
parent9cea8e51185b32b27975e081140802862a39b42e (diff)
downloadcpython-eb62357a2e8c18fc014e9e977acf1e2026e5d9cf.zip
cpython-eb62357a2e8c18fc014e9e977acf1e2026e5d9cf.tar.gz
cpython-eb62357a2e8c18fc014e9e977acf1e2026e5d9cf.tar.bz2
Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure b/configure
index 9065cb9..73acf5b 100755
--- a/configure
+++ b/configure
@@ -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 @@ if test -z "$CCSHARED"
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";