Mercurial > mplayer.hg
comparison configure @ 16256:578e8b4c3e7f
use libvbe from vesautils
author | alex |
---|---|
date | Thu, 18 Aug 2005 11:26:04 +0000 |
parents | aa8f80ce03a4 |
children | 7949a0c4e5ad |
comparison
equal
deleted
inserted
replaced
16255:2b75978da320 | 16256:578e8b4c3e7f |
---|---|
4288 esac | 4288 esac |
4289 | 4289 |
4290 | 4290 |
4291 echocheck "VESA support" | 4291 echocheck "VESA support" |
4292 if test "$_vesa" = auto ; then | 4292 if test "$_vesa" = auto ; then |
4293 if x86 && linux ; then | 4293 cat > $TMPC << EOF |
4294 #include <vbe.h> | |
4295 int main(void) { vbeVersion(); return 0; } | |
4296 EOF | |
4294 _vesa=no | 4297 _vesa=no |
4295 cat > $TMPC << EOF | 4298 cc_check -lvbe -llrmi && _vesa=yes |
4296 #include <sys/io.h> | |
4297 int main(void) { return 0; } | |
4298 EOF | |
4299 cc_check && _vesa=yes | |
4300 fi | |
4301 fi | 4299 fi |
4302 if test "$_vesa" = yes ; then | 4300 if test "$_vesa" = yes ; then |
4303 _def_vesa='#define HAVE_VESA 1' | 4301 _def_vesa='#define HAVE_VESA 1' |
4302 _ld_vesa="-lvbe -llrmi" | |
4304 _vosrc="$_vosrc vo_vesa.c vesa_lvo.c" | 4303 _vosrc="$_vosrc vo_vesa.c vesa_lvo.c" |
4305 _vomodules="vesa $_vomodules" | 4304 _vomodules="vesa $_vomodules" |
4306 echores "yes" | 4305 echores "yes" |
4307 else | 4306 else |
4308 _def_vesa='#undef HAVE_VESA' | 4307 _def_vesa='#undef HAVE_VESA' |
4309 echores "no (not supported on this OS/architecture)" | 4308 echores "no" |
4310 _novomodules="vesa $_novomodules" | 4309 _novomodules="vesa $_novomodules" |
4311 fi | 4310 fi |
4312 | 4311 |
4313 ################# | 4312 ################# |
4314 # VIDEO + AUDIO # | 4313 # VIDEO + AUDIO # |
7023 PNG_LIB = $_ld_png | 7022 PNG_LIB = $_ld_png |
7024 JPEG_LIB = $_ld_jpg | 7023 JPEG_LIB = $_ld_jpg |
7025 GIF_LIB = $_ld_gif | 7024 GIF_LIB = $_ld_gif |
7026 SDL_LIB = $_ld_sdl | 7025 SDL_LIB = $_ld_sdl |
7027 SVGA_LIB = $_ld_svga | 7026 SVGA_LIB = $_ld_svga |
7027 VESA_LIB = $_ld_vesa | |
7028 AA_LIB = $_ld_aa | 7028 AA_LIB = $_ld_aa |
7029 CACA_INC = $_inc_caca | 7029 CACA_INC = $_inc_caca |
7030 CACA_LIB = $_ld_caca | 7030 CACA_LIB = $_ld_caca |
7031 | 7031 |
7032 # audio output | 7032 # audio output |