Commit 516144fe authored by Skip Montanaro's avatar Skip Montanaro

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

assuming the compiler will be "cc".
parent dd7e3130
...@@ -407,7 +407,7 @@ AC_ARG_WITH(gcc, ...@@ -407,7 +407,7 @@ AC_ARG_WITH(gcc,
AC_HELP_STRING(--without-gcc,never use gcc), AC_HELP_STRING(--without-gcc,never use gcc),
[ [
case $withval in case $withval in
no) CC=cc no) CC=${CC:-cc}
without_gcc=yes;; without_gcc=yes;;
yes) CC=gcc yes) CC=gcc
without_gcc=no;; without_gcc=no;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment