diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-10 23:55:36 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-10 23:55:36 +0000 |
commit | 17d3d512d1e3b64078e5f68a2b38ddff85e3f0af (patch) | |
tree | 35c0767890c929a7e1b158c8234c063d22104077 /configure | |
parent | d8c75b82e9f67769a55d639e95e4cae91fae5652 (diff) | |
download | mpv-17d3d512d1e3b64078e5f68a2b38ddff85e3f0af.tar.bz2 mpv-17d3d512d1e3b64078e5f68a2b38ddff85e3f0af.tar.xz |
1000l. directfb 0.9.9 detection fixed?
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5035 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -1512,23 +1512,21 @@ else fi echores "$_directfb" +if test "$_directfb" = yes; then echocheck "DirectFB >= 0.9.9" -if test "$_directfb" = auto; then - _directfb=no - cat > $TMPC <<EOF + _directfb099=no + cat > $TMPC <<EOF #include <directfb.h> -nt main(void) { IDirectFBEventBuffer *foo; return 0; } +int 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' + cc_check -ldirectfb && _directfb099=yes +if test "$_directfb099" = yes ; then + _def_directfb099='#define HAVE_DIRECTFB099 1' else - _def_directfb='#undef HAVE_DIRECTFB' + _def_directfb099='#undef HAVE_DIRECTFB099' +fi +echores "$_directfb099" fi -echores "$_directfb" - - # Checking for localization ... echocheck "language" @@ -3456,6 +3454,7 @@ $_def_ggi $_def_3dfx $_def_tdfxfb $_def_directfb +$_def_directfb099 $_def_zr $_def_mga $_def_xmga |