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

git version control git at videolan.org
Tue Jun 16 22:33:13 CEST 2009


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Tue Jun 16 21:21:53 2009 +0100| [c065c55c3c9d78b068450dc55e1b87fe726c49ef] | 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.

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

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

diff --git a/configure.ac b/configure.ac
index 6141a98..4ee4453 100644
--- a/configure.ac
+++ b/configure.ac
@@ -826,9 +826,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