summaryrefslogtreecommitdiffstats
path: root/unix
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)
commit5ba547a4497459c886c9ec265c9b95bd75bb4fab (patch)
tree1dd2c29a3942f8c3b456a938ce85dfa921a078d9 /unix
parente8469505b13e2af380977e581f42402073a2136f (diff)
downloadtk-5ba547a4497459c886c9ec265c9b95bd75bb4fab.zip
tk-5ba547a4497459c886c9ec265c9b95bd75bb4fab.tar.gz
tk-5ba547a4497459c886c9ec265c9b95bd75bb4fab.tar.bz2
[Bug 1844430]: cygwin make fails in 8.4.14-8.5b3
Diffstat (limited to 'unix')
-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"