openbsd-ports/x11/vlc/patches/patch-configure_ac
jolan 1479134daf update to 0.8.2
main diff from jsg@ with some tweaks from me
2005-07-31 19:07:10 +00:00

14 lines
516 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.2 2005/07/31 19:07:11 jolan Exp $
--- configure.ac.orig Sat Jun 25 23:43:16 2005
+++ configure.ac Sun Jul 10 11:29:35 2005
@@ -543,6 +543,9 @@ if test "${SYS}" != "mingw32" -a "${SYS}
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