summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-22 08:29:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-22 08:29:53 (GMT)
commit5680fa44dbfafeed01f328dd8cde4310c3c95ba6 (patch)
tree1b855b6b0ffa0d3e208cf79e38d1b38d47dab3c2 /unix/tcl.m4
parent4731d0ccca76a01ad1401b71b70c9e6f1e372050 (diff)
parentb6f50b1321a5cd34af747eb670aad924fc66d7b7 (diff)
downloadtcl-5680fa44dbfafeed01f328dd8cde4310c3c95ba6.zip
tcl-5680fa44dbfafeed01f328dd8cde4310c3c95ba6.tar.gz
tcl-5680fa44dbfafeed01f328dd8cde4310c3c95ba6.tar.bz2
first working version of Cygwin notifierbug_3508771
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"