If user configures --without-gcc give preference to $CC instead of blindly
assuming the compiler will be "cc".
This commit is contained in:
parent
dd7e313035
commit
516144fef7
|
@ -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;;
|
||||
|
|
Loading…
Reference in New Issue