]> git.sesse.net Git - ffmpeg/commitdiff
Enable w32threads automatically unless explicitly disabled
authorMartin Storsjö <martin@martin.st>
Tue, 1 Nov 2011 14:22:56 +0000 (16:22 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 1 Nov 2011 14:48:15 +0000 (16:48 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index 80adbdc3a3291434664f59a7e6afd9eb4216d930..c23660e524d375ba9a653b21cb4066ed81ccfe83 100755 (executable)
--- a/configure
+++ b/configure
@@ -92,7 +92,7 @@ Configuration options:
   --disable-postproc       disable libpostproc build
   --disable-avfilter       disable video filter support [no]
   --disable-pthreads       disable pthreads [auto]
-  --enable-w32threads      use Win32 threads [no]
+  --disable-w32threads     disable Win32 threads [auto]
   --enable-x11grab         enable X11 grabbing [no]
   --disable-network        disable network support [no]
   --enable-gray            enable full grayscale support (slower color)
@@ -2436,6 +2436,7 @@ case $target_os in
             disable network
         else
             target_os=mingw32
+            enable_weak w32threads
         fi
         LIBTARGET=i386
         if enabled x86_64; then