[Mplayer-cvslog] CVS: main configure,1.572,1.573
Arpi of Ize
arpi at mplayerhq.hu
Sat Sep 28 21:03:52 CEST 2002
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv18353
Modified Files:
configure
Log Message:
-vo directx driver by Sascha Sommer <saschasommer at freenet.de>
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.572
retrieving revision 1.573
diff -u -r1.572 -r1.573
--- configure 26 Sep 2002 18:48:25 -0000 1.572
+++ configure 28 Sep 2002 19:03:49 -0000 1.573
@@ -178,6 +178,7 @@
--enable-sdl build with SDL render support [autodetect]
--enable-aa build with AAlib render support [autodetect]
--enable-ggi build with GGI render support [autodetect]
+ --enable-directx build with Directx support [autodetect]
--enable-dxr2 build with DXR2 render support [autodetect]
--enable-dxr3 build with DXR3/H+ render support [autodetect]
--enable-dvb build with support for output via DVB-Card [autodetect]
@@ -929,6 +930,7 @@
_dga=auto # 1 2 no auto
_xv=auto
_sdl=auto
+_directx=auto
_nas=auto
_png=auto
_jpg=auto
@@ -1028,6 +1030,8 @@
--disable-xv) _xv=no ;;
--enable-sdl) _sdl=yes ;;
--disable-sdl) _sdl=no ;;
+ --enable-directx) _directx=yes ;;
+ --disable-directx) _directx=no ;;
--enable-nas) _nas=yes ;;
--disable-nas) _nas=no ;;
--enable-png) _png=yes ;;
@@ -2799,6 +2803,27 @@
echores "no"
fi
+echocheck "Directx"
+if test "$_directx" = auto ; then
+ cat > $TMPC << EOF
+#include <windows.h>
+#include <ddraw.h>
+int main(void) { return 0; }
+EOF
+ _directx=no
+ cc_check -mwindows && _directx=yes
+fi
+if test "$_directx" = yes ; then
+ _def_directx='#define HAVE_DIRECTX 1'
+ _ld_directx='-mcygwin'
+ _vosrc="$_vosrc vo_directx.c"
+ _vomodules="directx $_vomodules"
+else
+ _def_directx='#undef HAVE_DIRECTX'
+ _novomodules="directx $_novomodules"
+fi
+echores "$_directx"
+
echocheck "NAS"
if test "$_nas" = auto || test "$_nas" = yes ; then
cat > $TMPC << EOF
@@ -4382,6 +4407,7 @@
JPEG_LIB = $_ld_jpg
GIF_LIB = $_ld_gif
SDL_LIB = $_ld_sdl
+DIRECTX_LIB = $_ld_directx
SVGA_LIB = $_ld_svga
AA_LIB = $_ld_aa
@@ -4825,6 +4851,7 @@
$_def_sdl
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
$_def_sdlbuggy
+$_def_directx
$_def_ggi
$_def_3dfx
$_def_tdfxfb
More information about the MPlayer-cvslog
mailing list