summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2009-01-04 10:36:58 (GMT)
committerSkip Montanaro <skip@pobox.com>2009-01-04 10:36:58 (GMT)
commit516144fef73e76a4530c9e142e9169e23674c1ff (patch)
tree04efa49f065253e159ddaca2e3f43518d71cf4af /configure.in
parentdd7e313035b764dda092c7ccdd7b350e0a50a69d (diff)
downloadcpython-516144fef73e76a4530c9e142e9169e23674c1ff.zip
cpython-516144fef73e76a4530c9e142e9169e23674c1ff.tar.gz
cpython-516144fef73e76a4530c9e142e9169e23674c1ff.tar.bz2
If user configures --without-gcc give preference to $CC instead of blindly
assuming the compiler will be "cc".
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ca504be..7136d78 100644
--- a/configure.in
+++ b/configure.in
@@ -407,7 +407,7 @@ AC_ARG_WITH(gcc,
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;;