diff options
author | mdejong <mdejong> | 2001-11-09 11:42:26 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-11-09 11:42:26 (GMT) |
commit | b19336075eb4cd166c6f52a9a762255d48cfe9e6 (patch) | |
tree | 488b7c74f68b176c7fd35c14488c6c08469da1f9 /unix/tcl.m4 | |
parent | 4a4c36b2047df85ae2b56760a23e93c916857d80 (diff) | |
download | tk-b19336075eb4cd166c6f52a9a762255d48cfe9e6.zip tk-b19336075eb4cd166c6f52a9a762255d48cfe9e6.tar.gz tk-b19336075eb4cd166c6f52a9a762255d48cfe9e6.tar.bz2 |
* unix/configure:
* unix/tcl.m4: Update from Tcl.
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" |