From 516144fef73e76a4530c9e142e9169e23674c1ff Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 4 Jan 2009 10:36:58 +0000 Subject: If user configures --without-gcc give preference to $CC instead of blindly assuming the compiler will be "cc". --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index ca504be..7136d78 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;; -- cgit v0.12