From: Anthony Minessale Date: Tue, 19 Dec 2006 01:37:50 +0000 (+0000) Subject: grr X-Git-Tag: v1.0-beta1~1533 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59e4d67712834ce03e2155eb7f23b79b7d76ea21;p=thirdparty%2Ffreeswitch.git grr git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3715 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/js/nsprpub/configure b/libs/js/nsprpub/configure index bc91bc3d74..5930d7fcb0 100755 --- a/libs/js/nsprpub/configure +++ b/libs/js/nsprpub/configure @@ -3449,7 +3449,6 @@ EOF *-freebsd*) if test -z "$USE_NSPR_THREADS"; then USE_PTHREADS=1 - LDFLAGS="$LDFLAGS -lpthread" fi cat >> confdefs.h <<\EOF #define XP_UNIX 1 @@ -5499,12 +5498,7 @@ EOF cat >> confdefs.h <<\EOF #define _THREAD_SAFE 1 EOF - - if test "$ac_cv_have_dash_pthread" = "yes"; then - _PTHREAD_LDFLAGS="-pthread" - else - _PTHREAD_LDFLAGS="-lc_r" - fi + _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthread" ;; *-netbsd*) if test "$ac_cv_have_dash_pthread" = "yes"; then