diff options
author | mdejong <mdejong> | 2003-03-19 03:09:42 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-03-19 03:09:42 (GMT) |
commit | f97b7b2eece332b3cf9fac1c1e04ab0838e528b9 (patch) | |
tree | 77a8c53fadb2cb78f9ff3286708aa7b6a9a2efdc /win/configure.in | |
parent | f0273cd41b4b13cfd193ecf17ef5398525483120 (diff) | |
download | tcl-f97b7b2eece332b3cf9fac1c1e04ab0838e528b9.zip tcl-f97b7b2eece332b3cf9fac1c1e04ab0838e528b9.tar.gz tcl-f97b7b2eece332b3cf9fac1c1e04ab0838e528b9.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]
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 |