Commit bb1d1eb5 authored by Brad Smith's avatar Brad Smith Committed by Rémi Denis-Courmont
Browse files

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: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 61fae445
......@@ -839,6 +839,9 @@ fi
if test "${THREAD_LIB}" = "error"; then
AC_CHECK_LIB(c_r,main,THREAD_LIB="-lc_r")
fi
if test "${THREAD_LIB}" = "error"; then
AC_CHECK_LIB(pthread,main,THREAD_LIB="-pthread")
fi
if test "${THREAD_LIB}" = "error"; then
AC_CHECK_FUNCS(pthread_mutex_lock)
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