summaryrefslogtreecommitdiff
path: root/recipes/mplayer/files/w100-configure-svn.patch
blob: e3067a47240a8cc19b0a596e7734c6697f761f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Index: trunk/configure
===================================================================
--- trunk.orig/configure
+++ trunk/configure
@@ -1623,6 +1623,7 @@ _caca=auto
 _svga=auto
 _vesa=auto
 _fbdev=auto
+_w100=no
 _dvb=auto
 _dvbhead=auto
 _dxr2=auto
@@ -1822,6 +1823,8 @@ for ac_option do
   --disable-vesa)	_vesa=no	;;
   --enable-fbdev)	_fbdev=yes	;;
   --disable-fbdev)	_fbdev=no	;;
+  --enable-w100)        _w100=yes       ;;
+  --disable-w100)       _w100=no        ;;
   --enable-dvb)		_dvb=yes	;;
   --disable-dvb)        _dvb=no		;;
   --enable-dvbhead)	_dvbhead=yes	;;
@@ -4280,6 +4283,18 @@ else
 fi
 echores "$_fbdev"
 
+echocheck "ATI Imageon 100 (w100)"
+if test "$_w100" = yes ; then
+  _def_w100='#define HAVE_W100 1'
+  _ld_w100='-laticore'
+  _libs_mplayer="$_libs_mplayer $_ld_w100"
+  _vosrc="$_vosrc vo_w100.c"
+  _vomodules="w100 $_vomodules"
+else
+  _def_w100='#undef HAVE_W100'
+  _novomodules="w100 $_novomodules"
+fi
+echores "$_w100"
 
 
 echocheck "DVB"
@@ -8227,6 +8242,7 @@ $_def_mga
 $_def_xmga
 $_def_syncfb
 $_def_fbdev
+$_def_w100
 $_def_dxr2
 $_def_dxr3
 $_def_ivtv