[x264-devel] Remove special-casing for OpenBSD pthread handling

Brad Smith git at videolan.org
Wed Sep 5 21:07:20 CEST 2012


x264 | branch: master | Brad Smith <brad at comstyle.com> | Mon Aug 20 23:58:19 2012 -0700| [d7fd6cc060b6ae3f3bcb9e09fc8bf532a8ed3a82] | committer: Jason Garrett-Glaser

Remove special-casing for OpenBSD pthread handling
Previously it was policy to use -pthread, but OpenBSD now recommends -lpthread.
its been libpthread anyway and policy has changed to stop using -pthread.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d7fd6cc060b6ae3f3bcb9e09fc8bf532a8ed3a82
---

 configure |    3 ---
 1 file changed, 3 deletions(-)

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"
             ;;



More information about the x264-devel mailing list