[x264-devel] Correct pthreads library detection for OpenBSD.

Brad brad at comstyle.com
Tue Jan 27 08:07:27 CET 2009


The following diff corrects the pthread's detection for OpenBSD.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
--- configure.orig	Mon Sep  1 16:45:08 2008
+++ configure	Mon Sep  1 21:21:31 2008
@@ -353,6 +353,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"
             ;;


More information about the x264-devel mailing list