diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-10 15:47:01 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-10 15:47:01 +0000 |
commit | 5c18ffdd1c4a2537514a593f307f6fbc9611e7a4 (patch) | |
tree | dfc72d31c0d03fa8c2debc4b93a0602d0d28e152 /configure | |
parent | 85aedd00057ffa1842703bc87b2c864a4d19822b (diff) | |
download | mpv-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-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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" |