0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

configure: fix disabling of (x)mga without swscale internals

The _mga/_xmga variables weren't changed to "no", causing a build
failure if mga/xmga support would have been otherwise enabled but was
only switched off because of the swscale test.
This commit is contained in:
Uoti Urpala 2010-06-04 15:59:18 +03:00
parent 6d6e030a79
commit 2b252e9acf

4
configure vendored
View File

@ -7121,6 +7121,7 @@ if test "$_mga" = yes ; then
vomodules="mga $vomodules"
else
res_comment="libswscale internal headers are required by mga, sorry"
_mga=no
def_mga='#undef CONFIG_MGA'
novomodules="mga $novomodules"
fi
@ -7141,7 +7142,8 @@ if test "$_xmga" = yes ; then
def_xmga='#define CONFIG_XMGA 1'
vomodules="xmga $vomodules"
else
res_comment="libswscale internal headers are required by mga, sorry"
res_comment="libswscale internal headers are required by xmga, sorry"
_xmga=no
def_xmga='#undef CONFIG_XMGA'
novomodules="xmga $novomodules"
fi