[Mplayer-cvslog] CVS: main configure,1.13,1.14

GEREOFFY arpi_esp at users.sourceforge.net
Thu Apr 5 21:02:04 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv23288

Modified Files:
	configure 
Log Message:
svgalib detection

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** configure	2001/03/28 19:58:45	1.13
--- configure	2001/04/05 19:02:02	1.14
***************
*** 75,78 ****
--- 75,79 ----
          --enable-gl             build with OpenGL render support [autodetect]
          --enable-dga            build with DGA support [autodetect]
+         --enable-svga           build with SVGAlib support [autodetect]
          --enable-sdl            build with SDL render support [def.: disabled!]
          --enable-mga            build with mga_vid support [autodetect, if /dev/mga_vid
***************
*** 169,172 ****
--- 170,174 ----
  _dga=no
  _dga2=no
+ _svga=no
  _fbdev=no
  _lirc=no
***************
*** 360,363 ****
--- 362,366 ----
  $_cc $TMPC -o $TMPO $_x11libdir/ -lGL &> /dev/null && _gl=yes
  $_cc $TMPC -o $TMPO $_x11libdir/ -lXxf86vm &> /dev/null && _vm=yes
+ $_cc $TMPC -o $TMPO -lvga -lvgagl &> /dev/null && _svga=yes
  $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext &> /dev/null && _x11=yes
  $_cc $TMPC -o $TMPO $_x11libdir -lXv &> /dev/null && _xv=yes
***************
*** 455,458 ****
--- 458,464 ----
          _xmga=yes
          ;;	
+   --enable-svga)
+         _svga=yes
+         ;;
    --enable-dga)
          _dga=yes
***************
*** 527,530 ****
--- 533,539 ----
  	_mlib=no
  	;;
+   --disable-svga)
+ 	_svga=no
+ 	;;
    --disable-dga)
  	_dga=no
***************
*** 577,580 ****
--- 586,590 ----
  echo "Checking for DGA 2.0 .. $_dga2"
  echo "Checking for Xf86VM ... $_vm"
+ echo "Checking for SVGAlib ... $_svga"
  echo "Checking for FBDev ... $_fbdev"
  # write conf files.
***************
*** 600,603 ****
--- 610,617 ----
  fi
  
+ if [ $_svga = yes ]; then
+   _svgalib='-lvga -lvgagl'
+ fi
+ 
  if [ $_vm = yes ]; then
    _vmlib='-lXxf86vm'
***************
*** 639,643 ****
  OPTFLAGS=-O4 -march=$proc -mcpu=$proc -pipe -ffast-math
  # LIBS=-L/usr/lib -L/usr/local/lib $_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib
! X_LIBS=$_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib
  TERMCAP_LIB=$_libtermcap
  XMM_LIBS = $_xmmplibs
--- 653,657 ----
  OPTFLAGS=-O4 -march=$proc -mcpu=$proc -pipe -ffast-math
  # LIBS=-L/usr/lib -L/usr/local/lib $_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib
! X_LIBS=$_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib
  TERMCAP_LIB=$_libtermcap
  XMM_LIBS = $_xmmplibs
***************
*** 741,744 ****
--- 755,765 ----
  fi
  
+ if [ $_svga = yes ]; then
+  _svga='#define HAVE_SVGALIB'
+  _vosrc=$_vosrc' vo_svga.c'
+ else
+  _svga='#undef HAVE_SVGALIB'
+ fi
+ 
  if [ $_dga = yes ]; then
   _dga='#define HAVE_DGA'
***************
*** 841,844 ****
--- 862,866 ----
  $_syncfb
  $_fbdev
+ $_svga
  
  #if defined(HAVE_GL)||defined(HAVE_X11)||defined(HAVE_XV)


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list