diff options
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 8bfded3..2454bd4 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -277,7 +277,9 @@ AC_DEFUN(SC_ENABLE_GCC, [ AC_ARG_ENABLE(gcc, [ --enable-gcc allow use of gcc if available [--disable-gcc]], [ok=$enableval], [ok=no]) if test "$ok" = "yes"; then - CC=gcc + if test -z "$CC"; then + CC=gcc + fi AC_PROG_CC else CC=${CC-cc} |