summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-23 07:27:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-23 07:27:02 (GMT)
commit4bbe9861deb45735ed4fce6999cc6bccb45bf8e3 (patch)
tree0b9ff1de4e484706f91d772a595884b931ed4a46 /unix/tcl.m4
parenta6f3b4e7ff69cb322e6bfbbd52dde81a30dc07e9 (diff)
parenta723a46ec900cb50d6eafea71fd59fdaf7844df1 (diff)
downloadtcl-4bbe9861deb45735ed4fce6999cc6bccb45bf8e3.zip
tcl-4bbe9861deb45735ed4fce6999cc6bccb45bf8e3.tar.gz
tcl-4bbe9861deb45735ed4fce6999cc6bccb45bf8e3.tar.bz2
[Bug 3508771]: Cygwin notifier for handling win32 events
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 85b48fa..fa31d3d 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1243,6 +1243,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
if test "$ac_cv_cygwin" = "no"; then
AC_MSG_ERROR([${CC} is not a cygwin compiler.])
fi
+ if test "x${TCL_THREADS}" = "x0"; then
+ AC_MSG_ERROR([CYGWIN compile is only supported with --enable-threads])
+ fi
+ if test ! -f "../win/tcldde12.dll" -a ! -f "../win/tk84.dll"; then
+ AC_MSG_ERROR([Please configure and make the ../win directory first.])
+ fi
;;
dgux*)
SHLIB_CFLAGS="-K PIC"