[Mplayer-cvslog] CVS: main configure,1.137,1.138

Atmosfear atmos4 at mplayer.dev.hu
Tue Aug 14 14:30:58 CEST 2001


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

Modified Files:
	configure 
Log Message:
Added cool aalib vo driver.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -r1.137 -r1.138
--- configure	12 Aug 2001 13:34:24 -0000	1.137
+++ configure	14 Aug 2001 12:30:56 -0000	1.138
@@ -135,6 +135,7 @@
         --enable-dga            build with DGA support [autodetect]
         --enable-svga           build with SVGAlib support [autodetect]
         --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-mga            build with mga_vid support [autodetect, if /dev/mga_vid
                                 is available]
@@ -439,6 +440,7 @@
 _mga=no
 _gl=no
 _sdl=no
+_aa=no
 _ggi=no
 _xv=no
 _vm=no
@@ -467,6 +469,7 @@
 _gllib=
 _sdllib=
 _sdlcflags=
+_aalib=
 _ggilib=
 _xvlib=
 _x11lib=
@@ -751,6 +754,12 @@
 fi	
 fi
 
+
+_aa=no
+if test -s "/usr/local/lib/libaa.a"  || test -s "/usr/lib/libaa.a" ; then
+	_aa=yes
+fi	
+
 # Atmosfear: added libcss autodetect
 _css=no
 if test -s "/usr/local/lib/libcss.so" ; then
@@ -1021,6 +1030,9 @@
   --enable-sdl)
         _sdl=yes
         ;;
+  --enable-aa)
+        _aa=yes
+        ;;
   --enable-ggi)
         _ggi=yes
         ;;
@@ -1119,6 +1131,9 @@
   --disable-sdl)
         _sdl=no
         ;;
+  --disable-sdl)
+        _aa=no
+        ;;
   --disable-ggi)
         _ggi=no
         ;;
@@ -1378,6 +1393,7 @@
 echo "Checking mga_vid device ... $_mga"
 echo "Checking for xmga ... $_xmga" 
 echo "Checking for SDL ... $_sdl"
+echo "Checking for AA ... $_aa"
 echo "Checking for GGI ... $_ggi"
 echo "Checking for OpenGL ... $_gl"
 echo "Checking for Xv ... $_xv"
@@ -1662,6 +1678,15 @@
 _vosrc=''
 #_aosrc=''
 
+if [ $_aa = yes ]; then
+ _aa='#define HAVE_AA'
+ _vosrc=$_vosrc' vo_aa.c'
+ _aalib='-laa'
+else
+ _aa='#undef HAVE_AA'
+ _aalib=''
+fi
+
 if [ $_png = yes ]; then
  _png='#define HAVE_PNG'
  _vosrc=$_vosrc' vo_png.c'
@@ -1812,7 +1837,7 @@
 
 X11_INC=$_x11incdir
 X11DIR=$_x11libdir
-X_LIBS=$_x11libdir $_extralibdir $_gllib $_ggilib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib
+X_LIBS=$_x11libdir $_extralibdir $_gllib $_ggilib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng $_socklib $_aalib
 
 TERMCAP_LIB=$_libtermcap
 XMM_LIBS = $_xmmplibs
@@ -2015,6 +2040,7 @@
 $_fbdev
 $_svga
 $_have_xdpms
+$_aa
 
 #if defined(HAVE_GL)||defined(HAVE_X11)||defined(HAVE_XV)
 #define X11_FULLSCREEN




More information about the MPlayer-cvslog mailing list