]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #1633863: Don't ignore $CC under AIX.
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 21 Sep 2010 15:19:14 +0000 (15:19 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 21 Sep 2010 15:19:14 +0000 (15:19 +0000)
Misc/NEWS
configure
configure.in

index 1e6e954afe30c5ed9d0d06b4631280cf11f5cbf3..9869af911b4d7045b7ecd1399a2b6f9268cef2ae 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -214,6 +214,8 @@ Tests
 Build
 -----
 
+- Issue #1633863: Don't ignore $CC under AIX.
+
 - Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
 
 - Issue #9810: Compile bzip2 source files in python's project file
index a3826ef169bf06a0a2c48a70492fb6c11372b133..0199ba0d52f2d1be5ff6cd25edb08b9e316d5465 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 84674 .
+# From configure.in Revision: 84752 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.65 for python 3.2.
 #
@@ -3144,7 +3144,7 @@ if test "${with_gcc+set}" = set; then :
 else
 
        case $ac_sys_system in
-       AIX*)   CC=cc_r
+       AIX*)   CC=${CC:-xlc_r}
                without_gcc=;;
        *)      without_gcc=no;;
        esac
@@ -9230,7 +9230,6 @@ fi
     OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
 fi
 
-
 # -I${DLINCLDIR} is added to the compile rule for importdl.o
 
 DLINCLDIR=.
index c6a51a324a9e9cbe32938638b6fe5767f77c2860..d9e208e7d7b706b130c032dd734ed17075b352a0 100644 (file)
@@ -449,7 +449,7 @@ AC_ARG_WITH(gcc,
                without_gcc=$withval;;
        esac], [
        case $ac_sys_system in
-       AIX*)   CC=cc_r
+       AIX*)   CC=${CC:-xlc_r}
                without_gcc=;;
        *)      without_gcc=no;;
        esac])