Index: unix/tcl.m4
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/tcl.m4,v
retrieving revision 1.32
diff -u -r1.32 tcl.m4
--- unix/tcl.m4	2001/04/09 23:02:21	1.32
+++ unix/tcl.m4	2001/04/24 02:15:42
@@ -331,6 +331,7 @@
     if test "$tcl_ok" = "yes"; then
 	AC_MSG_RESULT(yes)
 	TCL_THREADS=1
+	AC_SUBST(TCL_THREADS)
 	AC_DEFINE(TCL_THREADS)
 	AC_DEFINE(_REENTRANT)
 	AC_DEFINE(_THREAD_SAFE)
@@ -367,6 +368,7 @@
 	AC_CHECK_FUNCS(pthread_attr_setstacksize)
     else
 	TCL_THREADS=0
+	AC_SUBST(TCL_THREADS)
 	AC_MSG_RESULT([no (default)])
     fi
 ])
Index: unix/tclConfig.sh.in
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/tclConfig.sh.in,v
retrieving revision 1.14
diff -u -r1.14 tclConfig.sh.in
--- unix/tclConfig.sh.in	2000/06/20 21:30:34	1.14
+++ unix/tclConfig.sh.in	2001/04/24 02:15:43
@@ -170,3 +170,6 @@
 
 # Path to the Tcl stub library in the install directory.
 TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@'
+
+# Flag, 1: we built Tcl with threads enables, 0 we didn't
+TCL_THREADS=@TCL_THREADS@
Index: win/tcl.m4
===================================================================
RCS file: /cvsroot/tcl/tcl/win/tcl.m4,v
retrieving revision 1.18
diff -u -r1.18 tcl.m4
--- win/tcl.m4	2001/04/03 06:55:24	1.18
+++ win/tcl.m4	2001/04/24 02:15:43
@@ -224,6 +224,7 @@
 	TCL_THREADS=0
 	AC_MSG_RESULT([no (default)])
     fi
+    AC_SUBST(TCL_THREADS)
 ])
 
 #------------------------------------------------------------------------
Index: win/tclConfig.sh.in
===================================================================
RCS file: /cvsroot/tcl/tcl/win/tclConfig.sh.in,v
retrieving revision 1.6
diff -u -r1.6 tclConfig.sh.in
--- win/tclConfig.sh.in	2000/09/28 06:33:18	1.6
+++ win/tclConfig.sh.in	2001/04/24 02:15:43
@@ -172,3 +172,7 @@
 
 # Path to the Tcl stub library in the install directory.
 TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@'
+
+# Flag, 1: we built Tcl with threads enables, 0 we didn't
+TCL_THREADS=@TCL_THREADS@
+
