[MPlayer-cvslog] CVS: main configure,1.944,1.945
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Thu Dec 23 16:18:42 CET 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv26928
Modified Files:
configure
Log Message:
When setting HAVE_PTHREADS, set HAVE_THREADS also to avoid linking problems with lavc (because utils.c defines a stub otherwise)
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.944
retrieving revision 1.945
diff -u -r1.944 -r1.945
--- configure 23 Dec 2004 02:09:49 -0000 1.944
+++ configure 23 Dec 2004 15:18:39 -0000 1.945
@@ -2668,6 +2668,7 @@
#fi
#echores "using $_ld_dl_dynamic"
+_def_threads='#undef HAVE_THREADS'
echocheck "pthread"
cat > $TMPC << EOF
@@ -2703,6 +2704,7 @@
echores "yes (using $_ld_pthread)"
_pthreads='yes'
_def_pthreads='#define HAVE_PTHREADS 1'
+ _def_threads='#define HAVE_THREADS 1'
else
echores "no"
_pthreads=''
@@ -6944,6 +6946,9 @@
/* Define this if your system has pthreads */
$_def_pthreads
+/* Define this if you enabled thread support for libavcodec */
+$_def_threads
+
/* LIRC (remote control, see www.lirc.org) support: */
$_def_lirc
More information about the MPlayer-cvslog
mailing list