summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-06-25 09:23:23 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-06-25 09:23:23 (GMT)
commit6de91b6b7d469c5f8d511700b75689df23e43fd1 (patch)
tree90f2e6301f5b1f1d4ece4510cdfe8b9dadcf074d /unix/tcl.m4
parent4eb006ef70aa3737a687697eb03ba83b080e1a1a (diff)
parent076eb7c9e473f60d3821b1fcc622f69fbb8eba14 (diff)
downloadtcl-6de91b6b7d469c5f8d511700b75689df23e43fd1.zip
tcl-6de91b6b7d469c5f8d511700b75689df23e43fd1.tar.gz
tcl-6de91b6b7d469c5f8d511700b75689df23e43fd1.tar.bz2
merge trunk
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 85b48fa..fbb86b3 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1243,6 +1243,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/tcldde14.dll" -a ! -f "../win/tk86.dll"; then
+ AC_MSG_ERROR([Please configure and make the ../win directory first.])
+ fi
;;
dgux*)
SHLIB_CFLAGS="-K PIC"