summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-06-04 15:59:18 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-06-04 16:00:18 +0300
commit2b252e9acf5391fc5e250582b5f89b28481f757b (patch)
tree69260237e30e9883c3ca8ac488997f9195f9d787 /configure
parent6d6e030a79d32b060a8bb09878a23a93b724ae89 (diff)
downloadmpv-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-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index d1d21d7b03..aefa2dfe98 100755
--- a/configure
+++ b/configure
@@ -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