diff options
author | mo <mo@noemail.net> | 2000-08-25 05:55:04 (GMT) |
---|---|---|
committer | mo <mo@noemail.net> | 2000-08-25 05:55:04 (GMT) |
commit | d680d42b9255bf23eb1cc7cddffdb21ed3c99c1b (patch) | |
tree | cdf155021554b342405ec965f7228475bcf4915c /win/tcl.m4 | |
parent | 5b13ac3dfedc52086bd1202a4615a2be8bf9baba (diff) | |
download | tk-d680d42b9255bf23eb1cc7cddffdb21ed3c99c1b.zip tk-d680d42b9255bf23eb1cc7cddffdb21ed3c99c1b.tar.gz tk-d680d42b9255bf23eb1cc7cddffdb21ed3c99c1b.tar.bz2 |
remove --enable-gcc configure option
FossilOrigin-Name: 63c6411be67f99b00c28c7bf513849377f93a802
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 |