diff options
author | mdejong <mdejong@noemail.net> | 2003-03-19 03:09:41 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2003-03-19 03:09:41 (GMT) |
commit | 221a00f5bfa0d1500ecf67a03978385ce53f47d2 (patch) | |
tree | 77a8c53fadb2cb78f9ff3286708aa7b6a9a2efdc /win/configure.in | |
parent | bf512e02a860fc132474de1dd9496f128784331c (diff) | |
download | tcl-221a00f5bfa0d1500ecf67a03978385ce53f47d2.zip tcl-221a00f5bfa0d1500ecf67a03978385ce53f47d2.tar.gz tcl-221a00f5bfa0d1500ecf67a03978385ce53f47d2.tar.bz2 |
* win/configure: Regen.
* win/configure.in: Don't run the AC_CYGWIN
macro since it uses AC_CANONICAL_HOST under
autoconf 2.5X. Just check to see if __CYGWIN__
is defined by the compiler and set the
ac_cv_cygwin variable based on that.
[Bug 705912]
FossilOrigin-Name: 0dba105530d92e12db53b7e3a67caaabe4fb82cb
Diffstat (limited to 'win/configure.in')
-rw-r--r-- | win/configure.in | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/win/configure.in b/win/configure.in index 8553eb1..5678f37 100644 --- a/win/configure.in +++ b/win/configure.in @@ -3,7 +3,7 @@ # generate the file "configure", which is run during Tcl installation # to configure the system for the local environment. # -# RCS: @(#) $Id: configure.in,v 1.70 2003/03/13 10:39:58 mdejong Exp $ +# RCS: @(#) $Id: configure.in,v 1.71 2003/03/19 03:09:43 mdejong Exp $ AC_INIT(../generic/tcl.h) AC_PREREQ(2.57) @@ -87,8 +87,22 @@ AC_PROG_MAKE_SET # Perform additinal compiler tests. #-------------------------------------------------------------------- -AC_CYGWIN +dnl Currently AC_CYGWIN is disabled since it invokes AC_CANONICAL_HOST +dnl under autoconf 2.5X. +dnl +dnl AC_CYGWIN +AC_CACHE_CHECK(for Cygwin version of gcc, + ac_cv_cygwin, +AC_TRY_COMPILE([ +#ifdef __CYGWIN__ +#error cygwin +#endif +], +[], + ac_cv_cygwin=no, + ac_cv_cygwin=yes) +) if test "$ac_cv_cygwin" = "yes" ; then AC_MSG_ERROR([Compiling under Cygwin is not currently supported. A maintainer for the Cygwin port of Tcl/Tk is needed. See the README |