diff options
author | mdejong <mdejong> | 2001-11-09 11:41:07 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-11-09 11:41:07 (GMT) |
commit | dee3e08e2b7e06d56d799d4aa5a9cb1b25ca1e8c (patch) | |
tree | e9c429402fb502716876774edd43d6d55b32161e /unix/tcl.m4 | |
parent | b90b89bed34aa5b960fbe1973bffc54bf0527b7c (diff) | |
download | tcl-dee3e08e2b7e06d56d799d4aa5a9cb1b25ca1e8c.zip tcl-dee3e08e2b7e06d56d799d4aa5a9cb1b25ca1e8c.tar.gz tcl-dee3e08e2b7e06d56d799d4aa5a9cb1b25ca1e8c.tar.bz2 |
Fixup stack size under OSF1. [Tcl patch 474790]
* unix/configure: Regen.
* unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define
to EXTRA_CFLAGS to adjust initial stack size.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 7af0c0c..4c5b6e5 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -990,9 +990,10 @@ dnl AC_CHECK_TOOL(AR, ar, :) fi # see pthread_intro(3) for pthread support on osf1, k.furukawa if test "${TCL_THREADS}" = "1" ; then + EXTRA_CFLAGS="${EXTRA_CFLAGS} -DHAVE_PTHREAD_ATTR_SETSTACKSIZE" EXTRA_CFLAGS="${EXTRA_CFLAGS} -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64" + LIBS=`echo $LIBS | sed s/-lpthreads//` if test "$GCC" = "yes" ; then - LIBS=`echo $LIBS | sed s/-lpthreads//` LIBS="$LIBS -lpthread -lmach -lexc" else EXTRA_CFLAGS="${EXTRA_CFLAGS} -pthread" |