summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-23 06:59:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-23 06:59:17 (GMT)
commit366ea66bb84ae5120d3dca0dc01fb7aa46fc9ee6 (patch)
tree722cc30485f2241d93370d01c151c631e4c784e9 /unix/tcl.m4
parentb6f50b1321a5cd34af747eb670aad924fc66d7b7 (diff)
parent5680fa44dbfafeed01f328dd8cde4310c3c95ba6 (diff)
downloadtcl-366ea66bb84ae5120d3dca0dc01fb7aa46fc9ee6.zip
tcl-366ea66bb84ae5120d3dca0dc01fb7aa46fc9ee6.tar.gz
tcl-366ea66bb84ae5120d3dca0dc01fb7aa46fc9ee6.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 2391a41..7161c91 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1226,6 +1226,12 @@ dnl AC_CHECK_TOOL(AR, ar)
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"