1000l. directfb 0.9.9 detection fixed?

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5035 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-03-10 23:55:36 +00:00
parent d8c75b82e9
commit 17d3d512d1
1 changed files with 11 additions and 12 deletions

23
configure vendored
View File

@ -1512,23 +1512,21 @@ else
fi fi
echores "$_directfb" echores "$_directfb"
if test "$_directfb" = yes; then
echocheck "DirectFB >= 0.9.9" echocheck "DirectFB >= 0.9.9"
if test "$_directfb" = auto; then _directfb099=no
_directfb=no cat > $TMPC <<EOF
cat > $TMPC <<EOF
#include <directfb.h> #include <directfb.h>
nt main(void) { IDirectFBEventBuffer *foo; return 0; } int main(void) { IDirectFBEventBuffer *foo; return 0; }
EOF EOF
linux && test -c /dev/fb0 && cc_check -ldirectfb && _directfb=yes cc_check -ldirectfb && _directfb099=yes
fi if test "$_directfb099" = yes ; then
if test "$_directfb" = yes ; then _def_directfb099='#define HAVE_DIRECTFB099 1'
_def_directfb='#define HAVE_DIRECTFB099 1'
else else
_def_directfb='#undef HAVE_DIRECTFB' _def_directfb099='#undef HAVE_DIRECTFB099'
fi
echores "$_directfb099"
fi fi
echores "$_directfb"
# Checking for localization ... # Checking for localization ...
echocheck "language" echocheck "language"
@ -3456,6 +3454,7 @@ $_def_ggi
$_def_3dfx $_def_3dfx
$_def_tdfxfb $_def_tdfxfb
$_def_directfb $_def_directfb
$_def_directfb099
$_def_zr $_def_zr
$_def_mga $_def_mga
$_def_xmga $_def_xmga