From bb1d1eb5e7ac1e923ec5654c8b44a372b64b9964 Mon Sep 17 00:00:00 2001 From: Brad Date: Thu, 11 Jun 2009 16:09:12 -0400 Subject: [PATCH] Properly detect POSIX threads on OpenBSD. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The following diff for VLC 1.0.0rc3 corrects the detection of POSIX threads on OpenBSD. Signed-off-by: Rémi Denis-Courmont --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 9e5e89d87d..7ecf0bcf4e 100644 --- a/configure.ac +++ b/configure.ac @@ -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="" -- 2.39.5