summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-23 07:46:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-23 07:46:50 (GMT)
commit08163760e87004fc4cba1459a1a9fa853c834f46 (patch)
treeccdc1560deb0db177c12201d53476e580de547a9 /unix/tcl.m4
parent6693fb8816631164cfb8cf78e33030fbceedba5b (diff)
parent357e2172dfd690dace8d5bfa8c10e07a740ff1df (diff)
downloadtk-08163760e87004fc4cba1459a1a9fa853c834f46.zip
tk-08163760e87004fc4cba1459a1a9fa853c834f46.tar.gz
tk-08163760e87004fc4cba1459a1a9fa853c834f46.tar.bz2
[Bug 1844430]: cygwin make fails in 8.4.14-8.5b3
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..390f4ec 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/tcldde13.dll" -a ! -f "../win/tk85.dll"; then
+ AC_MSG_ERROR([Please configure and make the ../win directory first.])
+ fi
;;
dgux*)
SHLIB_CFLAGS="-K PIC"