summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-06-25 11:55:46 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-06-25 11:55:46 (GMT)
commit01eab1b3890706a987bfd038c2193a060660d823 (patch)
tree91f1e0c532b8d1c59a5a307206b833c245b68140 /unix/tcl.m4
parentbc7ed66ad757475d649f77ef0a52c71966b8c42a (diff)
parent3b5f5de0a5c31cd0891ca0398b8573ce3e7111b8 (diff)
downloadtcl-01eab1b3890706a987bfd038c2193a060660d823.zip
tcl-01eab1b3890706a987bfd038c2193a060660d823.tar.gz
tcl-01eab1b3890706a987bfd038c2193a060660d823.tar.bz2
merge 8.5
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"