]> git.sesse.net Git - vlc/commitdiff
Revert "Properly detect POSIX threads on OpenBSD."
authorChristophe Mutricy <xtophe@videolan.org>
Tue, 16 Jun 2009 20:21:53 +0000 (21:21 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Tue, 16 Jun 2009 20:21:53 +0000 (21:21 +0100)
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.

configure.ac

index 6141a9893ebaf6ebc29b30ba3a4efaed6ce9cfb2..4ee445398e544ad4019c10c722de95b854bc9ce6 100644 (file)
@@ -825,9 +825,6 @@ 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=""