changeset 14042:89a6c07d33be

Removal of vo_directfb.c (configure part). From now DirectFB => 0.9.13 is required for vo directfb.
author zdar
date Thu, 25 Nov 2004 20:03:11 +0000
parents 928b03a98062
children ed85ed8c9b37
files configure
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Nov 25 17:23:13 2004 +0000
+++ b/configure	Thu Nov 25 20:03:11 2004 +0000
@@ -3308,7 +3308,13 @@
   if cc_check $_inc_directfb -ldirectfb && "$TMPO" >> "$TMPLOG" ; then
     _directfb_version=`"$TMPO"`
     _def_directfb_version="#define DIRECTFBVERSION $_directfb_version"
-    echores "yes ($_directfb_version)"
+    if test "$_directfb_version" -ge 913; then
+	echores "yes ($_directfb_version)"
+    else
+        _def_directfb_version='#undef DIRECTFBVERSION'
+	_directfb=no
+	echores "no (version =>0.9.13 required)"
+    fi
   else
     _directfb=no
     echores "no (failed to get version)"
@@ -3321,11 +3327,9 @@
   _def_directfb='#define HAVE_DIRECTFB 1'
   if test "$_directfb_version" -ge 913; then
     _vosrc="$_vosrc vo_directfb2.c"
-  else
-    _vosrc="$_vosrc vo_directfb.c"
+    _vomodules="directfb $_vomodules"
+    _ld_directfb='-ldirectfb'
   fi
-  _vomodules="directfb $_vomodules"
-  _ld_directfb='-ldirectfb'
 
   if test "$_directfb_version" -ge 915; then
     _vosrc="$_vosrc vo_dfbmga.c"