Tcl Source Code

Artifact [2aa2740046]
Login

Artifact 2aa2740046afc7f1c51b32a5f0a11a329443273f:

Attachment "patch-tcl-m4-2" to ticket [671624ffff] added by taguchiv6 2003-01-22 12:36:55.
--- tcl.m4.orig	Wed Jan 22 13:53:35 2003
+++ tcl.m4	Wed Jan 22 14:05:33 2003
@@ -1230,7 +1230,7 @@
 	    if test "${TCL_THREADS}" = "1" ; then
 		# The -pthread needs to go in the CFLAGS, not LIBS
 		LIBS=`echo $LIBS | sed s/-pthread//`
-		EXTRA_CFLAGS="-pthread"
+		EXTRA_CFLAGS="-pthread -DHAVE_PTHREAD_ATTR_SETSTACKSIZE -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*6"
 	    	LDFLAGS="$LDFLAGS -pthread"
 	    fi
 	    case $system in