summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong@noemail.net>2001-11-09 11:42:26 (GMT)
committermdejong <mdejong@noemail.net>2001-11-09 11:42:26 (GMT)
commitbf98726264af3d0a7529a746d34cb77e6f624b9d (patch)
tree488b7c74f68b176c7fd35c14488c6c08469da1f9 /unix/tcl.m4
parentfdd001697261151de18e326365cc505714c5b7b0 (diff)
downloadtk-bf98726264af3d0a7529a746d34cb77e6f624b9d.zip
tk-bf98726264af3d0a7529a746d34cb77e6f624b9d.tar.gz
tk-bf98726264af3d0a7529a746d34cb77e6f624b9d.tar.bz2
* unix/configure:
* unix/tcl.m4: Update from Tcl. FossilOrigin-Name: df7ba9dd294653b52bd27a5d5d48df201691ab54
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"