Mercurial > mplayer.hg
diff configure @ 12129:c1aff21286dd
libcaca video output driver by Howell Tam
author | alex |
---|---|
date | Tue, 06 Apr 2004 00:04:48 +0000 |
parents | 69ee0a61da88 |
children | c3cce8454ee5 |
line wrap: on
line diff
--- a/configure Mon Apr 05 23:17:40 2004 +0000 +++ b/configure Tue Apr 06 00:04:48 2004 +0000 @@ -222,6 +222,7 @@ --enable-svga build with SVGAlib support [autodetect] --enable-sdl build with SDL render support [autodetect] --enable-aa build with AAlib render support [autodetect] + --enable-caca build with CACA render support [autodetect] --enable-ggi build with GGI render support [autodetect] --enable-directx build with DirectX support [autodetect] --enable-dxr2 build with DXR2 render support [autodetect] @@ -1137,6 +1138,7 @@ _gl=auto _ggi=auto _aa=auto +_caca=auto _svga=auto _vesa=auto _fbdev=auto @@ -1283,6 +1285,8 @@ --disable-ggi) _ggi=no ;; --enable-aa) _aa=yes ;; --disable-aa) _aa=no ;; + --enable-caca) _caca=yes ;; + --disable-caca) _caca=no ;; --enable-svga) _svga=yes ;; --disable-svga) _svga=no ;; --enable-vesa) _vesa=yes ;; @@ -3293,6 +3297,26 @@ fi echores "$_aa" +echocheck "CACA" +if test "$_caca" = auto ; then + cat > $TMPC << EOF +#include <caca.h> +int main(void) { (void) caca_init(); return 0; } +EOF + _caca=no + cc_check `caca-config --libs` && _caca=yes +fi +if test "$_caca" = yes ; then + _def_caca='#define HAVE_CACA 1' + _ld_caca=`caca-config --libs` + _vosrc="$_vosrc vo_caca.c" + _vomodules="caca $_vomodules" +else + _def_caca='#undef HAVE_CACA' + _novomodules="caca $_novomodules" +fi +echores "$_caca" + echocheck "SVGAlib" if test "$_svga" = auto ; then @@ -5901,6 +5925,7 @@ SDL_LIB = $_ld_sdl SVGA_LIB = $_ld_svga AA_LIB = $_ld_aa +CACA_LIB = $_ld_caca # audio output ALSA_LIB = $_ld_alsa @@ -6534,6 +6559,7 @@ $_def_vesa $_def_xdpms $_def_aa +$_def_caca $_def_tga /* used by GUI: */