[Mplayer-cvslog] CVS: main configure,1.26,1.27
Felix Buenemann
atmosfear at users.sourceforge.net
Fri Apr 20 19:27:40 CEST 2001
Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv15040
Modified Files:
configure
Log Message:
added sdl versiondetect and removed sdl warning (it's autodetect now)
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** configure 2001/04/19 19:59:11 1.26
--- configure 2001/04/20 17:27:38 1.27
***************
*** 84,88 ****
--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
is available]
--- 84,88 ----
--enable-dga build with DGA support [autodetect]
--enable-svga build with SVGAlib support [autodetect]
! --enable-sdl build with SDL render support [autodetect]
--enable-mga build with mga_vid support [autodetect, if /dev/mga_vid
is available]
***************
*** 398,405 ****
{ echo "Lib pthread not found."; rm -f $TMPC $TMPO ; exit 1; }
! # SDL disabled by default (0.11pre22-) because of the compilation problems
! # this is very buggy & experimental code, use it only if you really need it!!
! _have_sdl=no
! $_cc $TMPC -o $TMPO -L/usr/local/lib/ -lSDL -lpthread &> /dev/null && _have_sdl=yes
_termcap=no
--- 398,408 ----
{ echo "Lib pthread not found."; rm -f $TMPC $TMPO ; exit 1; }
! # Atmosfear: added SDL versioncheck and autodetect; removed warnings.
! _sdl=no
! if test `sdl-config --version | sed s/[=[:punct:]=]//g` -gt 116 ; then
! $_cc $TMPC -o $TMPO -L/usr/lib/ -L/usr/local/lib/ -lSDL -lpthread &> /dev/null && _sdl=yes
! else
! _sdl=outdated
! fi
_termcap=no
***************
*** 1063,1075 ****
fi
! if [ $_sdl = no ]; then
! if [ $_have_sdl = yes ]; then
! echo "You have libSDL installed, but SDL support is disabled by default."
! echo "If you want to compile MPlayer with SDL support, re-run ./configure"
! echo "with --enable-sdl. But it's very buggy & experimental code, use it"
! echo "only if you really need it! And it works(?) *ONLY* with SDL v1.1.7 !"
! echo "(SDL driver is NOT supported, so do NOT report bugs relating to SDL!)"
echo
- fi
fi
--- 1066,1076 ----
fi
! if [ $_sdl = outdated ]; then
! echo "You have libSDL installed, but your version is outdated (earlier then"
! echo "v.1.1.7), SDL support has been disabled please update, if you want to"
! echo "use it (libSDL v1.1.8 and v1.2.0 are tested and known to work, recent"
! echo "versions are available from http://www.libsdl.org/)."
! echo "After updating you need to re-run ./configure and recompile to enable SDL."
echo
fi
_______________________________________________
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