diff options
Diffstat (limited to 'win/configure.in')
-rw-r--r-- | win/configure.in | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/win/configure.in b/win/configure.in index 88c0617..835786c 100644 --- a/win/configure.in +++ b/win/configure.in @@ -3,7 +3,7 @@ # generate the file "configure", which is run during Tk installation # to configure the system for the local environment. # -# RCS: @(#) $Id: configure.in,v 1.51 2003/03/13 10:54:49 mdejong Exp $ +# RCS: @(#) $Id: configure.in,v 1.52 2003/03/19 03:14:42 mdejong Exp $ AC_INIT(../generic/tk.h) AC_PREREQ(2.57) @@ -72,10 +72,30 @@ fi AC_PROG_MAKE_SET #-------------------------------------------------------------------- -# These two macros perform additinal compiler test. +# 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 +file for information about building with Mingw.]) +fi #-------------------------------------------------------------------- # Determines the correct binary file extension (.o, .obj, .exe etc.) |