Commit 31cef7fc authored by Brad's avatar Brad Committed by Rémi Denis-Courmont

Properly detect POSIX threads on OpenBSD.

The following diff for VLC 1.0.0rc3 corrects the detection of POSIX threads
on OpenBSD.
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit bb1d1eb5)
parent 7fe0dc4a
...@@ -837,6 +837,9 @@ fi ...@@ -837,6 +837,9 @@ fi
if test "${THREAD_LIB}" = "error"; then if test "${THREAD_LIB}" = "error"; then
AC_CHECK_LIB(c_r,main,THREAD_LIB="-lc_r") AC_CHECK_LIB(c_r,main,THREAD_LIB="-lc_r")
fi fi
if test "${THREAD_LIB}" = "error"; then
AC_CHECK_LIB(pthread,main,THREAD_LIB="-pthread")
fi
if test "${THREAD_LIB}" = "error"; then if test "${THREAD_LIB}" = "error"; then
AC_CHECK_FUNCS(pthread_mutex_lock) AC_CHECK_FUNCS(pthread_mutex_lock)
THREAD_LIB="" THREAD_LIB=""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment