git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3715
d0543943-73ff-0310-b7d9-
9358b9ac24b2
*-freebsd*)
if test -z "$USE_NSPR_THREADS"; then
USE_PTHREADS=1
- LDFLAGS="$LDFLAGS -lpthread"
fi
cat >> confdefs.h <<\EOF
#define XP_UNIX 1
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