summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-22 12:32:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-22 12:32:35 (GMT)
commit202130ef9cbf2e4f2f61b4737ce35f5223412fd1 (patch)
tree1dd2c29a3942f8c3b456a938ce85dfa921a078d9 /unix/tcl.m4
parent23abd217c7df90a80ee411cfe2090d75942cf750 (diff)
downloadtk-202130ef9cbf2e4f2f61b4737ce35f5223412fd1.zip
tk-202130ef9cbf2e4f2f61b4737ce35f5223412fd1.tar.gz
tk-202130ef9cbf2e4f2f61b4737ce35f5223412fd1.tar.bz2
[Bug 1844430]: cygwin make fails in 8.4.14-8.5b3
Diffstat (limited to 'unix/tcl.m4')
-rwxr-xr-xunix/tcl.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 2391a41..7161c91 100755
--- 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"