summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-02-01 11:50:36 (GMT)
committerhobbs <hobbs@noemail.net>2000-02-01 11:50:36 (GMT)
commit0ce5f0d1711f4f541a970f44166ee0f0a1073f8a (patch)
tree9a86761ec6e091a990e4506522748a426e859a7c /unix
parent7fa647218032e827cc96a776d341ee1586f38eb5 (diff)
downloadtcl-0ce5f0d1711f4f541a970f44166ee0f0a1073f8a.zip
tcl-0ce5f0d1711f4f541a970f44166ee0f0a1073f8a.tar.gz
tcl-0ce5f0d1711f4f541a970f44166ee0f0a1073f8a.tar.bz2
improved OSF1 thread build flags
FossilOrigin-Name: 1eb3f9bc2e48253db393c07833a687aff0b4f943
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index d268471..de5657f 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -864,9 +864,9 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
if test "$using_gcc" = "no" ; then
EXTRA_CFLAGS="${EXTRA_CFLAGS} -pthread"
LDFLAGS="-pthread"
- THREADS_LIBS=""
else
- THREADS_LIBS=" -lpthread -lmach -lexc"
+ LIBS=`echo $LIBS | sed s/-lpthreads//`
+ LIBS="$LIBS -lpthread -lmach -lexc"
fi
fi