diff options
author | mo <mo@noemail.net> | 2000-08-25 05:45:07 (GMT) |
---|---|---|
committer | mo <mo@noemail.net> | 2000-08-25 05:45:07 (GMT) |
commit | 69e38f3b7e1c5b8b29777f10f7efe358251bdac5 (patch) | |
tree | eda9a29092cf12d5c3df956d45bb50864bafbbf9 /win/tcl.m4 | |
parent | cebabb8a13b06f1f18d971800a0df1e48f2cdcd8 (diff) | |
download | tcl-69e38f3b7e1c5b8b29777f10f7efe358251bdac5.zip tcl-69e38f3b7e1c5b8b29777f10f7efe358251bdac5.tar.gz tcl-69e38f3b7e1c5b8b29777f10f7efe358251bdac5.tar.bz2 |
remove --enable-gcc configure option
FossilOrigin-Name: 15f085286b2f1cca02592f4385059c4fb88fd462
Diffstat (limited to 'win/tcl.m4')
-rw-r--r-- | win/tcl.m4 | 54 |
1 files changed, 0 insertions, 54 deletions
@@ -151,60 +151,6 @@ AC_DEFUN(SC_LOAD_TKCONFIG, [ ]) #------------------------------------------------------------------------ -# SC_ENABLE_GCC -- -# -# Allows the use of GCC if available -# -# Arguments: -# none -# -# Results: -# -# Adds the following arguments to configure: -# --enable-gcc -# -# Sets the following vars: -# CC Command to use for the compiler -# AR Comman for the archive tool -# RANLIB Command for the archive indexing tool -# RC Command for the resource compiler -# -#------------------------------------------------------------------------ - -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 - # Quick hack to simulate a real cross check - # The right way to do this is to use AC_CHECK_TOOL - # correctly, but this is the minimal change - # we need until the real fix is ready. - if test "$host" != "$build" ; then - if test -z "$CC"; then - CC=${host}-gcc - fi - AC_PROG_CC - AC_CHECK_PROG(AR, ${host}-ar, ${host}-ar) - AC_CHECK_PROG(RANLIB, ${host}-ranlib, ${host}-ranlib) - AC_CHECK_PROG(RC, ${host}-windres, ${host}-windres) - else - if test -z "$CC"; then - CC=gcc - fi - AC_PROG_CC - AC_CHECK_PROG(AR, ar, ar) - AC_CHECK_PROG(RANLIB, ranlib, ranlib) - AC_CHECK_PROG(RC, windres, windres) - fi - else - # Allow user to override - if test -z "$CC"; then - CC=cl - fi - fi -]) - -#------------------------------------------------------------------------ # SC_ENABLE_SHARED -- # # Allows the building of shared libraries |