diff options
| author | Skip Montanaro <skip@pobox.com> | 2009-01-04 10:36:58 +0000 |
|---|---|---|
| committer | Skip Montanaro <skip@pobox.com> | 2009-01-04 10:36:58 +0000 |
| commit | 516144fef73e76a4530c9e142e9169e23674c1ff (patch) | |
| tree | 04efa49f065253e159ddaca2e3f43518d71cf4af /configure.in | |
| parent | dd7e313035b764dda092c7ccdd7b350e0a50a69d (diff) | |
| download | cpython-git-516144fef73e76a4530c9e142e9169e23674c1ff.tar.gz | |
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.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index ca504be374..7136d78595 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;; |
