]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
grr
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 19 Dec 2006 01:37:50 +0000 (01:37 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 19 Dec 2006 01:37:50 +0000 (01:37 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3715 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/js/nsprpub/configure

index bc91bc3d748d3ebc7711c00a79a26ed201bc751c..5930d7fcb017a763bdb228f004c744b7927cbb7c 100755 (executable)
@@ -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