$NetBSD: patch-ag,v 1.3 2004/10/04 02:15:52 minskim Exp $

--- unix/tclConfig.sh.in.orig	2004-03-02 00:58:59.000000000 +0100
+++ unix/tclConfig.sh.in
@@ -13,2 +13,4 @@
 
+if [ -z "${_TCL_NOTHREAD}" ]; then
+
 # Tcl's version number.
@@ -180 +182,7 @@ TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@'
 TCL_THREADS=@TCL_THREADS@
+
+else
+
+. @prefix@/lib/tclConfig-nothread.sh
+
+fi
