summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-02-01 11:50:37 (GMT)
committerhobbs <hobbs>2000-02-01 11:50:37 (GMT)
commitb6c48947a84b1c168af465f787f9a151ec4688a8 (patch)
tree9a86761ec6e091a990e4506522748a426e859a7c
parent7f8849b418b11dd785395a3b44af825f7bdcd5ba (diff)
downloadtcl-b6c48947a84b1c168af465f787f9a151ec4688a8.zip
tcl-b6c48947a84b1c168af465f787f9a151ec4688a8.tar.gz
tcl-b6c48947a84b1c168af465f787f9a151ec4688a8.tar.bz2
improved OSF1 thread build flags
-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