[Freeswitch-svn] [commit] r3715 - freeswitch/trunk/libs/js/nsprpub

Freeswitch SVN anthm at freeswitch.org
Mon Dec 18 20:37:50 EST 2006


Author: anthm
Date: Mon Dec 18 20:37:50 2006
New Revision: 3715

Modified:
   freeswitch/trunk/libs/js/nsprpub/configure

Log:
grr

Modified: freeswitch/trunk/libs/js/nsprpub/configure
==============================================================================
--- freeswitch/trunk/libs/js/nsprpub/configure	(original)
+++ freeswitch/trunk/libs/js/nsprpub/configure	Mon Dec 18 20:37:50 2006
@@ -3449,7 +3449,6 @@
 *-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 @@
 	    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



More information about the Freeswitch-svn mailing list