]> git.sesse.net Git - x264/commitdiff
Remove special-casing for OpenBSD pthread handling
authorBrad Smith <brad@comstyle.com>
Tue, 21 Aug 2012 06:58:19 +0000 (23:58 -0700)
committerFiona Glaser <fiona@x264.com>
Wed, 5 Sep 2012 18:59:45 +0000 (11:59 -0700)
Previously it was policy to use -pthread, but OpenBSD now recommends -lpthread.
its been libpthread anyway and policy has changed to stop using -pthread.

configure

index 086b399ccd05fe24492a574ac54e835689483192..01da01e493d712d8b153333ce43b5f70f532ab70 100755 (executable)
--- 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"
             ;;