[Mplayer-cvslog] CVS: main configure,1.585,1.586
Sascha Sommer CVS
faust3 at mplayerhq.hu
Fri Oct 25 18:25:44 CEST 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv29099
Modified Files:
configure
Log Message:
add ao_win32
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.585
retrieving revision 1.586
diff -u -r1.585 -r1.586
--- configure 24 Oct 2002 18:12:40 -0000 1.585
+++ configure 25 Oct 2002 16:25:41 -0000 1.586
@@ -205,6 +205,7 @@
--disable-arts disable aRts sound support [autodetect]
--disable-alsa disable alsa sound support [autodetect]
--disable-sunaudio disable Sun sound support [autodetect]
+ --disable-win32waveout disable windows waveout sound support [autodetect]
--disable-select disable using select() on audio device [enable]
Miscellaneous options:
@@ -933,6 +934,7 @@
_xv=auto
_sdl=auto
_directx=auto
+_win32waveout=auto
_nas=auto
_png=auto
_jpg=auto
@@ -1035,6 +1037,8 @@
--disable-sdl) _sdl=no ;;
--enable-directx) _directx=yes ;;
--disable-directx) _directx=no ;;
+ --enable-win32waveout) _win32waveout=yes ;;
+ --disable-win32waveout) _win32waveout=no ;;
--enable-nas) _nas=yes ;;
--disable-nas) _nas=no ;;
--enable-png) _png=yes ;;
@@ -2808,6 +2812,27 @@
_noaomodules="sdl $_noaomodules"
echores "no"
fi
+
+echocheck "windows waveout"
+if test "$_win32waveout" = auto ; then
+ cat > $TMPC << EOF
+#include <windows.h>
+#include <mmsystem.h>
+int main(void) { return 0; }
+EOF
+ _win32waveout=no
+ cc_check -lwinmm && _win32waveout=yes
+fi
+if test "$_win32waveout" = yes ; then
+ _def_win32waveout='#define HAVE_WIN32WAVEOUT 1'
+ _ld_win32libs="-lwinmm $_ld_win32libs"
+ _aosrc="$_aosrc ao_win32.c"
+ _aomodules="win32 $_aomodules"
+else
+ _def_win32waveout='#undef HAVE_WIN32WAVEOUT'
+ _noaomodules="win32 $_noaomodules"
+fi
+echores "$_win32waveout"
echocheck "Directx"
if test "$_directx" = auto ; then
@@ -2817,11 +2842,11 @@
int main(void) { return 0; }
EOF
_directx=no
- cc_check -mwindows && _directx=yes
+ cc_check -lgdi32 && _directx=yes
fi
if test "$_directx" = yes ; then
_def_directx='#define HAVE_DIRECTX 1'
- _ld_directx='-lgdi32'
+ _ld_win32libs="-lgdi32 $_ld_win32libs"
_vosrc="$_vosrc vo_directx.c"
_vomodules="directx $_vomodules"
else
@@ -4418,6 +4443,7 @@
EXTRA_LIB = $_ld_extra
Z_LIB = $_ld_static $_ld_zlib
HAVE_MLIB = $_mlib
+WIN32_LIB = $_ld_win32libs
STATIC_LIB = $_ld_static
X11_INC = $_inc_x11
@@ -4437,7 +4463,6 @@
JPEG_LIB = $_ld_jpg
GIF_LIB = $_ld_gif
SDL_LIB = $_ld_sdl
-DIRECTX_LIB = $_ld_directx
SVGA_LIB = $_ld_svga
AA_LIB = $_ld_aa
@@ -4747,6 +4772,7 @@
$_def_alsa_asoundlib_h
$_def_sunaudio
$_def_sgiaudio
+$_def_win32waveout
$_def_nas
/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
@@ -4886,7 +4912,7 @@
$_def_sdl
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
$_def_sdlbuggy
-$_def_directx
+$_def_directx
$_def_ggi
$_def_3dfx
$_def_tdfxfb
More information about the MPlayer-cvslog
mailing list