From a78f994d71c040b36bcc9253c1875a2abf0146c0 Mon Sep 17 00:00:00 2001 From: hobbs Date: Sat, 11 Dec 1999 23:30:24 +0000 Subject: added warning when specifying --enable-threads to Tk --- unix/aclocal.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/unix/aclocal.m4 b/unix/aclocal.m4 index 11412ee..d40e855 100644 --- a/unix/aclocal.m4 +++ b/unix/aclocal.m4 @@ -360,6 +360,7 @@ AC_DEFUN(SC_ENABLE_THREADS, [ TCL_THREADS=1 AC_DEFINE(TCL_THREADS) AC_DEFINE(_REENTRANT) + AC_MSG_WARN("Tk on Unix is known to have problems with thread support. It is recommended that Tk be used with a non-thread enabled Tcl.") AC_CHECK_LIB(pthread,pthread_mutex_init,tcl_ok=yes,tcl_ok=no) if test "$tcl_ok" = "yes"; then -- cgit v0.12