From 2b252e9acf5391fc5e250582b5f89b28481f757b Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 4 Jun 2010 15:59:18 +0300 Subject: 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. --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure') 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 -- cgit v1.2.3