From: Skip Montanaro Date: Sun, 4 Jan 2009 10:36:58 +0000 (+0000) Subject: If user configures --without-gcc give preference to $CC instead of blindly X-Git-Tag: v2.7a1~2387 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=516144fef73e76a4530c9e142e9169e23674c1ff;p=thirdparty%2FPython%2Fcpython.git If user configures --without-gcc give preference to $CC instead of blindly assuming the compiler will be "cc". --- diff --git a/configure.in b/configure.in index ca504be374f9..7136d7859589 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;;