[x264-devel] [PATCH] Remove OpenBSD special casing for pthreasd handling

Brad Smith brad at comstyle.com
Tue Aug 21 07:34:19 CEST 2012


The following diff removes the special casing for OpenBSD's POSIX threads
handling. In the past it was policy to use -pthread to isolate against
potential changes with pthreads in case the library was ever renamed but
its been libpthread anyway and policy has changed to stop using -pthread.


diff --git a/configure b/configure
index 086b399..01da01e 100755
--- a/configure
+++ b/configure
@@ -764,9 +764,6 @@ if [ "$thread" = "auto" ]; then
                 thread="win32"
             fi
             ;;
-        OPENBSD)
-            cc_check pthread.h -pthread && thread="posix" && libpthread="-pthread"
-            ;;
         *)
             cc_check pthread.h -lpthread && thread="posix" && 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