summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-10 15:47:01 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-10 15:47:01 +0000
commit5c18ffdd1c4a2537514a593f307f6fbc9611e7a4 (patch)
treedfc72d31c0d03fa8c2debc4b93a0602d0d28e152 /configure
parent85aedd00057ffa1842703bc87b2c864a4d19822b (diff)
downloadmpv-5c18ffdd1c4a2537514a593f307f6fbc9611e7a4.tar.bz2
mpv-5c18ffdd1c4a2537514a593f307f6fbc9611e7a4.tar.xz
DirectFB 0.9.9 support - patch by Aubin Paul <aubin@punknews.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5027 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index 937133e9b7..213f3a0f08 100755
--- a/configure
+++ b/configure
@@ -1507,6 +1507,23 @@ else
fi
echores "$_directfb"
+echocheck "DirectFB >= 0.9.9"
+if test "$_directfb" = auto; then
+ _directfb=no
+ cat > $TMPC <<EOF
+#include <directfb.h>
+nt main(void) { IDirectFBEventBuffer *foo; return 0; }
+EOF
+ linux && test -c /dev/fb0 && cc_check -ldirectfb && _directfb=yes
+fi
+if test "$_directfb" = yes ; then
+ _def_directfb='#define HAVE_DIRECTFB099 1'
+else
+ _def_directfb='#undef HAVE_DIRECTFB'
+fi
+echores "$_directfb"
+
+
# Checking for localization ...
echocheck "language"