[Mplayer-cvslog] CVS: main configure,1.716,1.717

Alex Beregszaszi alex at mplayerhq.hu
Fri May 30 20:16:01 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv32288

Modified Files:
	configure 
Log Message:
esd:server and esd latency support by Andrew Williams <andrew.s.williams at adelaide.edu.au>

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.716
retrieving revision 1.717
diff -u -r1.716 -r1.717
--- configure	29 May 2003 11:50:23 -0000	1.716
+++ configure	30 May 2003 18:15:58 -0000	1.717
@@ -3531,6 +3531,7 @@
 
   fi
 fi
+echores "$_esd"
 
 if test "$_esd" = yes ; then
   _def_esd='#define USE_ESD 1'
@@ -3538,11 +3539,19 @@
   _aomodules="esd $_aomodules"
   _ld_esd=`esd-config --libs`
   _inc_esd=`esd-config --cflags`
+
+  echocheck "esd_get_latency()"
+  cat > $TMPC << EOF
+#include <esd.h>
+int main(void) { return esd_get_latency(0); }
+EOF
+  cc_check `esd-config --libs` `esd-config --cflags` && _esd_latency=yes && _def_esd_latency='#define HAVE_ESD_LATENCY'
+  echores "$_esd_latency"
 else
+  _def_esd='#undef USE_ESD'
+  _def_esd_latency='#undef HAVE_ESD_LATENCY'
   _noaomodules="esd $_noaomodules"
 fi
-echores "$_esd"
-
 
 echocheck "ALSA audio"
 if test "$_alsa" != no ; then
@@ -5609,6 +5618,7 @@
 $_def_alsa9
 $_def_arts
 $_def_esd
+$_def_esd_latency
 $_def_sys_asoundlib_h
 $_def_alsa_asoundlib_h
 $_def_sunaudio



More information about the MPlayer-cvslog mailing list