[vlc-devel] [PATCH] Properly detect POSIX threads on OpenBSD.
Brad
brad at comstyle.com
Thu Jun 11 22:09:12 CEST 2009
The following diff for VLC 1.0.0rc3 corrects the detection of POSIX threads
on OpenBSD.
--- configure.ac.orig Fri May 8 20:10:46 2009
+++ configure.ac Sat May 16 08:47:18 2009
@@ -829,6 +829,9 @@ if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
dnl Check for pthreads - borrowed from XMMS
THREAD_LIB=error
if test "${THREAD_LIB}" = "error"; then
+ AC_CHECK_LIB(pthread,main,THREAD_LIB="-pthread")
+fi
+if test "${THREAD_LIB}" = "error"; then
AC_CHECK_LIB(pthread,main,THREAD_LIB="-lpthread")
fi
if test "${THREAD_LIB}" = "error"; then
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the vlc-devel
mailing list