[Python-checkins] r68292 - python/trunk/configure.in

skip.montanaro python-checkins at python.org
Sun Jan 4 11:36:58 CET 2009


Author: skip.montanaro
Date: Sun Jan  4 11:36:58 2009
New Revision: 68292

Log:
If user configures --without-gcc give preference to $CC instead of blindly
assuming the compiler will be "cc".


Modified:
   python/trunk/configure.in

Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in	(original)
+++ python/trunk/configure.in	Sun Jan  4 11:36:58 2009
@@ -407,7 +407,7 @@
             AC_HELP_STRING(--without-gcc,never use gcc),
 [
 	case $withval in
-	no)	CC=cc
+	no)	CC=${CC:-cc}
 		without_gcc=yes;;
 	yes)	CC=gcc
 		without_gcc=no;;


More information about the Python-checkins mailing list