configure: fix --enable-3dfx override without dga

If --enable-3dfx is specified but dga is not available then 3dfx is
disabled nonetheless. However, this disabling is not done properly,
and libvo/vo_3dfx.c is still compiled (but cannot be used). Fix.

The behavior of automatically disabling vo_3dfx despite --enable-3dfx
is itself questionable, but I'm not changing that now.
This commit is contained in:
Uoti Urpala 2011-04-20 20:37:10 +03:00
parent c33fafd6f1
commit 1bdb0e4cc3
1 changed files with 1 additions and 0 deletions

1
configure vendored
View File

@ -4071,6 +4071,7 @@ if test "$_3dfx" = yes && test "$_dga" = yes ; then
def_3dfx='#define CONFIG_3DFX 1'
vomodules="3dfx $vomodules"
else
_3dfx=no
def_3dfx='#undef CONFIG_3DFX'
novomodules="3dfx $novomodules"
fi