openbsd-ports/x11/vlc/patches/patch-configure_ac
2005-12-22 03:45:36 +00:00

14 lines
516 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.3 2005/12/22 03:45:36 jolan Exp $
--- configure.ac.orig Sun Dec 11 15:36:29 2005
+++ configure.ac Tue Dec 13 20:24:38 2005
@@ -565,6 +565,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