summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-06-22 12:32:35 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-06-22 12:32:35 (GMT)
commit65d73aa9f2e3f9087853f536fa1d6d23d2376769 (patch)
tree1dd2c29a3942f8c3b456a938ce85dfa921a078d9 /unix
parent0acc68a6147bac87f21e7e62d27758b2445de8fa (diff)
downloadtk-65d73aa9f2e3f9087853f536fa1d6d23d2376769.zip
tk-65d73aa9f2e3f9087853f536fa1d6d23d2376769.tar.gz
tk-65d73aa9f2e3f9087853f536fa1d6d23d2376769.tar.bz2
[Bug 1844430]: cygwin make fails in 8.4.14-8.5b3
FossilOrigin-Name: fec5f2f7bae6dfc32fb52c9b0c19453e0b01219a
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"