[x264-devel] Correct pthreads library detection for OpenBSD.
Brad
brad at comstyle.com
Thu Jan 8 09:02:46 CET 2009
The following diff corrects the pthreads detection for OpenBSD.
--- configure.orig Wed Jan 7 16:45:07 2009
+++ configure Wed Jan 7 23:17:23 2009
@@ -342,6 +342,9 @@ if test "$pthread" = "auto" ; then
CFLAGS="$CFLAGS -DPTW32_STATIC_LIB"
fi
;;
+ OPENBSD)
+ cc_check pthread.h -pthread && pthread="yes" && libpthread="-pthread"
+ ;;
*)
cc_check pthread.h -lpthread && pthread="yes" && libpthread="-lpthread"
;;
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the x264-devel
mailing list