[MPlayer-cvslog] r34236 - trunk/configure

cehoyos subversion at mplayerhq.hu
Sat Oct 22 02:17:28 CEST 2011


Author: cehoyos
Date: Sat Oct 22 02:17:28 2011
New Revision: 34236

Log:
Always define HAVE_PTHREADS and HAVE_W32THREADS.

This fixes a warning when compiling FFmpeg's pthreads.c:
libavcodec/pthread.c:914:5: warning: "HAVE_W32THREADS" is not defined

Possibly fixes compilation on some win32 systems.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Oct 22 01:15:33 2011	(r34235)
+++ trunk/configure	Sat Oct 22 02:17:28 2011	(r34236)
@@ -3554,6 +3554,8 @@ echores "$_dynamic_plugins"
 
 
 def_threads='#define HAVE_THREADS 0'
+def_pthreads='#define HAVE_PTHREADS 0'
+def_w32threads='#define HAVE_W32THREADS 0'
 
 echocheck "pthread"
 if linux ; then
@@ -3606,7 +3608,7 @@ if test "$_w32threads" = auto ; then
   _w32threads=no
   mingw32 && _w32threads=yes
 fi
-test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1'
+test "$_w32threads" = yes && def_threads='#define HAVE_THREADS 1' && def_w32threads='#define HAVE_W32THREADS 1'
 echores "$_w32threads"
 
 echocheck "rpath"
@@ -8529,6 +8531,7 @@ $def_threads
 $def_trunc
 $def_truncf
 $def_vf_lavfi
+$def_w32threads
 $def_xform_asm
 $def_xmm_clobbers
 $def_yasm


More information about the MPlayer-cvslog mailing list