[vlc-devel] commit: Revert "Properly detect POSIX threads on OpenBSD." ( Christophe Mutricy )

git version control git at videolan.org
Tue Jun 16 22:38:23 CEST 2009


vlc | branch: 1.0-bugfix | Christophe Mutricy <xtophe at videolan.org> | Tue Jun 16 21:21:53 2009 +0100| [46c525e451916040d71ba08d0c4e77b66ceb9274] | committer: Christophe Mutricy 

Revert "Properly detect POSIX threads on OpenBSD."

If main() is not found in pthread 10 line above it won't be find now.
And the patch submitter is looking for a better test

This reverts commit bb1d1eb5e7ac1e923ec5654c8b44a372b64b9964.
(cherry picked from commit c065c55c3c9d78b068450dc55e1b87fe726c49ef)

This reverts commit 31cef7fc3ad57947bdda5a884e008f59d9497b49.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46c525e451916040d71ba08d0c4e77b66ceb9274
---

 configure.ac |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 09b67ef..339c8d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -824,9 +824,6 @@ 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=""
 fi




More information about the vlc-devel mailing list