If user configures --without-gcc give preference to $CC instead of blindly

assuming the compiler will be "cc".
This commit is contained in:
Skip Montanaro 2009-01-04 10:36:58 +00:00
parent dd7e313035
commit 516144fef7
1 changed files with 1 additions and 1 deletions

View File

@ -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;;