summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-04-20 20:37:10 +0300
committerUoti Urpala <uau@mplayer2.org>2011-04-20 20:37:10 +0300
commit1bdb0e4cc3119db0274bd2b71451d21653537a73 (patch)
treec1374ba90a83e6a24019208caf75b2cee0c5d140 /configure
parentc33fafd6f1bc2a430c114231cecc6e1c56c1f939 (diff)
downloadmpv-1bdb0e4cc3119db0274bd2b71451d21653537a73.tar.bz2
mpv-1bdb0e4cc3119db0274bd2b71451d21653537a73.tar.xz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 975413261e..c32bb1eb32 100755
--- a/configure
+++ b/configure
@@ -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