Mercurial > mplayer.hg
changeset 32132:827d6d2f0afa
cosmetics: Place mga_vid tests along with the other video output tests.
author | diego |
---|---|
date | Mon, 13 Sep 2010 03:12:07 +0000 |
parents | 47c14ed68bff |
children | 04071c66eeb1 |
files | configure |
diffstat | 1 files changed, 29 insertions(+), 27 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sun Sep 12 18:17:29 2010 +0000 +++ b/configure Mon Sep 13 03:12:07 2010 +0000 @@ -4250,6 +4250,35 @@ ######### +echocheck "/dev/mga_vid" +if test "$_mga" = auto ; then + _mga=no + test -c /dev/mga_vid && _mga=yes +fi +if test "$_mga" = yes ; then + def_mga='#define CONFIG_MGA 1' + vomodules="mga $vomodules" +else + def_mga='#undef CONFIG_MGA' + novomodules="mga $novomodules" +fi +echores "$_mga" + +echocheck "xmga" +if test "$_xmga" = auto ; then + _xmga=no + test "$_x11" = yes && test "$_mga" = yes && _xmga=yes +fi +if test "$_xmga" = yes ; then + def_xmga='#define CONFIG_XMGA 1' + vomodules="xmga $vomodules" +else + def_xmga='#undef CONFIG_XMGA' + novomodules="xmga $novomodules" +fi +echores "$_xmga" + + echocheck "tdfxfb" if test "$_tdfxfb" = yes ; then def_tdfxfb='#define CONFIG_TDFXFB 1' @@ -7513,33 +7542,6 @@ && def_libswscale_so='#define CONFIG_LIBSWSCALE_SO 1' echores "$_libswscale" -echocheck "/dev/mga_vid" -if test "$_mga" = auto ; then - _mga=no - test -c /dev/mga_vid && _mga=yes -fi -if test "$_mga" = yes ; then - def_mga='#define CONFIG_MGA 1' - vomodules="mga $vomodules" -else - def_mga='#undef CONFIG_MGA' - novomodules="mga $novomodules" -fi -echores "$_mga" - -echocheck "xmga" -if test "$_xmga" = auto ; then - _xmga=no - test "$_x11" = yes && test "$_mga" = yes && _xmga=yes -fi -if test "$_xmga" = yes ; then - def_xmga='#define CONFIG_XMGA 1' - vomodules="xmga $vomodules" -else - def_xmga='#undef CONFIG_XMGA' - novomodules="xmga $novomodules" -fi -echores "$_xmga" echocheck "libopencore_amr narrowband" if test "$_libopencore_amrnb" = auto ; then