changeset 36449:d3e1b083209e

configure: fix build when ffmpeg Makefiles use CONFIG_THREADS
author michael
date Sat, 14 Dec 2013 00:43:10 +0000
parents 10a58d3ec0ef
children d8174c2bc038
files configure
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Dec 12 21:25:47 2013 +0000
+++ b/configure	Sat Dec 14 00:43:10 2013 +0000
@@ -3921,6 +3921,11 @@
 echores "$_os2threads"
 fi #if os2
 
+if test "$_os2threads" = yes || test "$_w32threads" = yes || test "$_pthreads" = yes ; then
+    _threads=yes
+else
+    _threads=no
+fi
 
 echocheck "windows.h"
 windows_h=no
@@ -8618,6 +8623,7 @@
 HAVE_PTHREADS   = $_pthreads
 HAVE_SHM        = $_shm
 HAVE_W32THREADS = $_w32threads
+HAVE_THREADS    = $_threads
 HAVE_YASM       = $have_yasm
 
 CONFIG_LIBXVID = $_xvid_lavc