summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-23 07:10:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-23 07:10:06 (GMT)
commitb3d458c88e93d44e5a0ea594e7da1ed66fd816a4 (patch)
tree604f9ee615167d13590b0c33c245b7a898e1ced5 /unix/tcl.m4
parente87f03c29d1158714d9319724311d1091997611d (diff)
parent366ea66bb84ae5120d3dca0dc01fb7aa46fc9ee6 (diff)
downloadtcl-b3d458c88e93d44e5a0ea594e7da1ed66fd816a4.zip
tcl-b3d458c88e93d44e5a0ea594e7da1ed66fd816a4.tar.gz
tcl-b3d458c88e93d44e5a0ea594e7da1ed66fd816a4.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 4e0ac62..744d6ed 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1260,6 +1260,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"