merge a stray change from my branch that fixes configure run failure

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4549 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-03-11 14:14:32 +00:00
parent ee3fc89f69
commit 1edd6bf776
1 changed files with 5 additions and 12 deletions

View File

@ -2167,8 +2167,7 @@ case $target in
;; ;;
*) *)
AC_CHECK_LIB(dl, dlopen, AC_CHECK_LIB(dl, dlopen,
AC_CHECK_HEADER(dlfcn.h, [AC_CHECK_HEADER(dlfcn.h, OS_LIBS="-ldl $OS_LIBS")])
OS_LIBS="-ldl $OS_LIBS"))
;; ;;
esac esac
@ -2297,10 +2296,10 @@ darwin*)
_HAVE_PTHREADS=1 _HAVE_PTHREADS=1
;; ;;
*) *)
MOZ_CHECK_PTHREADS(pthreads, MOZ_CHECK_PTHREADS(pthread,
_HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthreads", _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthread",
MOZ_CHECK_PTHREADS(pthread, MOZ_CHECK_PTHREADS(pthreads,
_HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthread", _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthreads",
MOZ_CHECK_PTHREADS(c_r, MOZ_CHECK_PTHREADS(c_r,
_HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lc_r", _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lc_r",
MOZ_CHECK_PTHREADS(c, MOZ_CHECK_PTHREADS(c,
@ -2452,12 +2451,6 @@ if test -n "$USE_PTHREADS"; then
*-freebsd*) *-freebsd*)
AC_DEFINE(_REENTRANT) AC_DEFINE(_REENTRANT)
AC_DEFINE(_THREAD_SAFE) AC_DEFINE(_THREAD_SAFE)
dnl -pthread links in -lc_r, so don't specify it explicitly.
if test "$ac_cv_have_dash_pthread" = "yes"; then
_PTHREAD_LDFLAGS="-pthread"
else
_PTHREAD_LDFLAGS="-lc_r"
fi
;; ;;
*-netbsd*) *-netbsd*)
if test "$ac_cv_have_dash_pthread" = "yes"; then if test "$ac_cv_have_dash_pthread" = "yes"; then