Enable w32threads automatically unless explicitly disabled

Message ID 1320157451-21412-1-git-send-email-martin@martin.st
State Committed
Commit 7b7b220cf709f193e5e79b5fc83b51196aab7cf6
Headers show

Commit Message

Martin Storsjö Nov. 1, 2011, 2:24 p.m.
---
 configure |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Comments

Mans Rullgard Nov. 1, 2011, 2:33 p.m. | #1
Martin Storsjö <martin@martin.st> writes:

> ---
>  configure |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index 80adbdc..c23660e 100755
> --- 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
> -- 

OK, I guess.

Patch

diff --git a/configure b/configure
index 80adbdc..c23660e 100755
--- 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