summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2001-11-09 11:42:26 (GMT)
committermdejong <mdejong>2001-11-09 11:42:26 (GMT)
commit9bad3ba33d62e65ac5fe5b8cd950731f656696ed (patch)
tree488b7c74f68b176c7fd35c14488c6c08469da1f9 /unix/tcl.m4
parentccc9be49297a06b486b8c0874a37b19729659ffa (diff)
downloadtk-9bad3ba33d62e65ac5fe5b8cd950731f656696ed.zip
tk-9bad3ba33d62e65ac5fe5b8cd950731f656696ed.tar.gz
tk-9bad3ba33d62e65ac5fe5b8cd950731f656696ed.tar.bz2
* unix/configure:
* unix/tcl.m4: Update from Tcl.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m43
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"