diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-06-04 15:59:18 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-06-04 16:00:18 +0300 |
commit | 2b252e9acf5391fc5e250582b5f89b28481f757b (patch) | |
tree | 69260237e30e9883c3ca8ac488997f9195f9d787 /configure | |
parent | 6d6e030a79d32b060a8bb09878a23a93b724ae89 (diff) | |
download | mpv-2b252e9acf5391fc5e250582b5f89b28481f757b.tar.bz2 mpv-2b252e9acf5391fc5e250582b5f89b28481f757b.tar.xz |
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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |