summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-08 11:42:47 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-08 11:42:47 +0000
commitf5173696b05634beefd4a0fbf7089b65ef5a61ff (patch)
tree494e4b597d4a17af99d28a95a2ab398beff2433e /configure
parent1b6eef9fc2fe2672c3226206cef8b60d70164273 (diff)
downloadmpv-f5173696b05634beefd4a0fbf7089b65ef5a61ff.tar.bz2
mpv-f5173696b05634beefd4a0fbf7089b65ef5a61ff.tar.xz
Simplify directfb/dfbmga test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24743 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 10 insertions, 10 deletions
diff --git a/configure b/configure
index 67dffa460d..3f8c16ade1 100755
--- a/configure
+++ b/configure
@@ -3817,6 +3817,7 @@ EOF
if test "$_dfb_version" -ge `dfb_version 0 9 13`; then
_def_directfb_version="#define DIRECTFBVERSION $_dfb_version"
_res_comment="$_directfb_version"
+ test "$_dfb_version" -ge `dfb_version 0 9 15` && _dfbmga=yes
else
_def_directfb_version='#undef DIRECTFBVERSION'
_directfb=no
@@ -3834,18 +3835,17 @@ if test "$_directfb" = yes ; then
_vosrc="$_vosrc vo_directfb2.c"
_vomodules="directfb $_vomodules"
_libs_mplayer="$_libs_mplayer -ldirectfb"
-
- if test "$_dfb_version" -ge `dfb_version 0 9 15`; then
- _vosrc="$_vosrc vo_dfbmga.c"
- _vomodules="dfbmga $_vomodules"
- _def_dfbmga='#define HAVE_DFBMGA 1'
- else
- _novomodules="dfbmga $_novomodules"
- _def_dfbmga='#undef HAVE_DFBMGA'
- fi
else
_def_directfb='#undef HAVE_DIRECTFB'
- _novomodules="dfbmga directfb $_novomodules"
+ _novomodules="directfb $_novomodules"
+fi
+if test "$_dfbmga" = yes; then
+ _vosrc="$_vosrc vo_dfbmga.c"
+ _vomodules="dfbmga $_vomodules"
+ _def_dfbmga='#define HAVE_DFBMGA 1'
+else
+ _novomodules="dfbmga $_novomodules"
+ _def_dfbmga='#undef HAVE_DFBMGA'
fi