diff options
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" |