From b6c48947a84b1c168af465f787f9a151ec4688a8 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 1 Feb 2000 11:50:37 +0000 Subject: improved OSF1 thread build flags --- unix/tcl.m4 | 4 ++-- 1 file 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 -- cgit v0.12