# HG changeset patch # User michael # Date 1386981790 0 # Node ID d3e1b083209ea8f05c626a162bd70249937921e7 # Parent 10a58d3ec0ef336c84ff503500a73e1a2a81d307 configure: fix build when ffmpeg Makefiles use CONFIG_THREADS diff -r 10a58d3ec0ef -r d3e1b083209e configure --- 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