comparison configure @ 5034:d7118bee3c1b

1000l. directfb 0.9.9 detection fixed?
author arpi
date Sun, 10 Mar 2002 23:55:36 +0000
parents ef8a43b74075
children 16f28fb341a1
comparison
equal deleted inserted replaced
5033:f6b6b2d9fe4b 5034:d7118bee3c1b
1510 else 1510 else
1511 _def_directfb='#undef HAVE_DIRECTFB' 1511 _def_directfb='#undef HAVE_DIRECTFB'
1512 fi 1512 fi
1513 echores "$_directfb" 1513 echores "$_directfb"
1514 1514
1515 if test "$_directfb" = yes; then
1515 echocheck "DirectFB >= 0.9.9" 1516 echocheck "DirectFB >= 0.9.9"
1516 if test "$_directfb" = auto; then 1517 _directfb099=no
1517 _directfb=no 1518 cat > $TMPC <<EOF
1518 cat > $TMPC <<EOF
1519 #include <directfb.h> 1519 #include <directfb.h>
1520 nt main(void) { IDirectFBEventBuffer *foo; return 0; } 1520 int main(void) { IDirectFBEventBuffer *foo; return 0; }
1521 EOF 1521 EOF
1522 linux && test -c /dev/fb0 && cc_check -ldirectfb && _directfb=yes 1522 cc_check -ldirectfb && _directfb099=yes
1523 fi 1523 if test "$_directfb099" = yes ; then
1524 if test "$_directfb" = yes ; then 1524 _def_directfb099='#define HAVE_DIRECTFB099 1'
1525 _def_directfb='#define HAVE_DIRECTFB099 1' 1525 else
1526 else 1526 _def_directfb099='#undef HAVE_DIRECTFB099'
1527 _def_directfb='#undef HAVE_DIRECTFB' 1527 fi
1528 fi 1528 echores "$_directfb099"
1529 echores "$_directfb" 1529 fi
1530
1531
1532 1530
1533 # Checking for localization ... 1531 # Checking for localization ...
1534 echocheck "language" 1532 echocheck "language"
1535 test -z "$LINGUAS" && LINGUAS="en" 1533 test -z "$LINGUAS" && LINGUAS="en"
1536 if test -f "help_mp-${LINGUAS}.h" ; then 1534 if test -f "help_mp-${LINGUAS}.h" ; then
3454 $_def_sdlbuggy 3452 $_def_sdlbuggy
3455 $_def_ggi 3453 $_def_ggi
3456 $_def_3dfx 3454 $_def_3dfx
3457 $_def_tdfxfb 3455 $_def_tdfxfb
3458 $_def_directfb 3456 $_def_directfb
3457 $_def_directfb099
3459 $_def_zr 3458 $_def_zr
3460 $_def_mga 3459 $_def_mga
3461 $_def_xmga 3460 $_def_xmga
3462 $_def_syncfb 3461 $_def_syncfb
3463 $_def_fbdev 3462 $_def_fbdev