Mercurial > mplayer.hg
comparison configure @ 32169:e55fdf5b1dd7
Require DirectFB version 0.9.22.
This allows getting rid of a lot of library version check #ifdeffery.
Release 0.9.22 is from February 2005, so the requirement is reasonable.
author | diego |
---|---|
date | Wed, 15 Sep 2010 18:34:15 +0000 |
parents | c026f1657647 |
children | f002b9d0f4d1 |
comparison
equal
deleted
inserted
replaced
32168:c026f1657647 | 32169:e55fdf5b1dd7 |
---|---|
4259 if test "$_directfb" = auto ; then | 4259 if test "$_directfb" = auto ; then |
4260 _directfb=no | 4260 _directfb=no |
4261 cat > $TMPC << EOF | 4261 cat > $TMPC << EOF |
4262 #include <directfb.h> | 4262 #include <directfb.h> |
4263 #include <directfb_version.h> | 4263 #include <directfb_version.h> |
4264 #if (DIRECTFB_MAJOR_VERSION << 16 | DIRECTFB_MINOR_VERSION << 8 | DIRECTFB_MICRO_VERSION) < (0 << 16 | 9 << 8 | 15) | 4264 #if (DIRECTFB_MAJOR_VERSION << 16 | DIRECTFB_MINOR_VERSION << 8 | DIRECTFB_MICRO_VERSION) < (0 << 16 | 9 << 8 | 22) |
4265 #error "DirectFB version too old." | 4265 #error "DirectFB version too old." |
4266 #endif | 4266 #endif |
4267 int main(void) { DirectFBInit(0, 0); return 0; } | 4267 int main(void) { DirectFBInit(0, 0); return 0; } |
4268 EOF | 4268 EOF |
4269 for _inc_tmp in "" -I/usr/local/include/directfb -I/usr/include/directfb -I/usr/local/include; do | 4269 for _inc_tmp in "" -I/usr/local/include/directfb -I/usr/include/directfb -I/usr/local/include; do |