Mercurial > mplayer.hg
comparison configure @ 32167:41c11d96b5db
Require DirectFB version 0.9.15 instead of 0.9.13.
This simplifies the build system at the cost of requiring a library
version that was released at the end rather than the middle of 2002.
author | diego |
---|---|
date | Wed, 15 Sep 2010 15:58:48 +0000 |
parents | e9c91deb192e |
children | c026f1657647 |
comparison
equal
deleted
inserted
replaced
32166:e9c91deb192e | 32167:41c11d96b5db |
---|---|
4279 _directfb_version=$(sed -n 's/^dfb_ver[^0-9]*\(.*\)/\1/p' "$TMPEXE" | tr -d '()') | 4279 _directfb_version=$(sed -n 's/^dfb_ver[^0-9]*\(.*\)/\1/p' "$TMPEXE" | tr -d '()') |
4280 _dfb_major=$(echo $_directfb_version | cut -d . -f 1) | 4280 _dfb_major=$(echo $_directfb_version | cut -d . -f 1) |
4281 _dfb_minor=$(echo $_directfb_version | cut -d . -f 2) | 4281 _dfb_minor=$(echo $_directfb_version | cut -d . -f 2) |
4282 _dfb_micro=$(echo $_directfb_version | cut -d . -f 3) | 4282 _dfb_micro=$(echo $_directfb_version | cut -d . -f 3) |
4283 _dfb_version=$(dfb_version $_dfb_major $_dfb_minor $_dfb_micro) | 4283 _dfb_version=$(dfb_version $_dfb_major $_dfb_minor $_dfb_micro) |
4284 if test "$_dfb_version" -ge $(dfb_version 0 9 13); then | 4284 if test "$_dfb_version" -ge $(dfb_version 0 9 15); then |
4285 def_directfb_version="#define DIRECTFBVERSION $_dfb_version" | 4285 def_directfb_version="#define DIRECTFBVERSION $_dfb_version" |
4286 res_comment="$_directfb_version" | 4286 res_comment="$_directfb_version" |
4287 test "$_dfb_version" -ge $(dfb_version 0 9 15) && _dfbmga=yes | |
4288 else | 4287 else |
4289 def_directfb_version='#undef DIRECTFBVERSION' | 4288 def_directfb_version='#undef DIRECTFBVERSION' |
4290 _directfb=no | 4289 _directfb=no |
4291 res_comment="version >=0.9.13 required" | 4290 res_comment="version >=0.9.15 required" |
4292 fi | 4291 fi |
4293 else | 4292 else |
4294 _directfb=no | 4293 _directfb=no |
4295 res_comment="failed to get version" | 4294 res_comment="failed to get version" |
4296 fi | 4295 fi |
4297 fi | 4296 fi |
4298 echores "$_directfb" | 4297 echores "$_directfb" |
4299 | 4298 |
4300 if test "$_directfb" = yes ; then | 4299 if test "$_directfb" = yes ; then |
4301 def_directfb='#define CONFIG_DIRECTFB 1' | 4300 def_directfb='#define CONFIG_DIRECTFB 1' |
4302 vomodules="directfb $vomodules" | 4301 vomodules="directfb dfbmga $vomodules" |
4303 libs_mplayer="$libs_mplayer -ldirectfb" | 4302 libs_mplayer="$libs_mplayer -ldirectfb" |
4304 else | 4303 else |
4305 def_directfb='#undef CONFIG_DIRECTFB' | 4304 def_directfb='#undef CONFIG_DIRECTFB' |
4306 novomodules="directfb $novomodules" | 4305 novomodules="directfb dfbmga $novomodules" |
4307 fi | |
4308 if test "$_dfbmga" = yes; then | |
4309 vomodules="dfbmga $vomodules" | |
4310 def_dfbmga='#define CONFIG_DFBMGA 1' | |
4311 else | |
4312 novomodules="dfbmga $novomodules" | |
4313 def_dfbmga='#undef CONFIG_DFBMGA' | |
4314 fi | 4306 fi |
4315 | 4307 |
4316 | 4308 |
4317 echocheck "X11 headers presence" | 4309 echocheck "X11 headers presence" |
4318 _x11_headers="no" | 4310 _x11_headers="no" |
8278 CDDA = $_cdda | 8270 CDDA = $_cdda |
8279 CDDB = $_cddb | 8271 CDDB = $_cddb |
8280 COREAUDIO = $_coreaudio | 8272 COREAUDIO = $_coreaudio |
8281 COREVIDEO = $_corevideo | 8273 COREVIDEO = $_corevideo |
8282 DART = $_dart | 8274 DART = $_dart |
8283 DFBMGA = $_dfbmga | |
8284 DGA = $_dga | 8275 DGA = $_dga |
8285 DIRECT3D = $_direct3d | 8276 DIRECT3D = $_direct3d |
8286 DIRECTFB = $_directfb | 8277 DIRECTFB = $_directfb |
8287 DIRECTX = $_directx | 8278 DIRECTX = $_directx |
8288 DVBIN = $_dvbin | 8279 DVBIN = $_dvbin |
8812 $def_3dfx | 8803 $def_3dfx |
8813 $def_aa | 8804 $def_aa |
8814 $def_bl | 8805 $def_bl |
8815 $def_caca | 8806 $def_caca |
8816 $def_corevideo | 8807 $def_corevideo |
8817 $def_dfbmga | |
8818 $def_dga | 8808 $def_dga |
8819 $def_dga1 | 8809 $def_dga1 |
8820 $def_dga2 | 8810 $def_dga2 |
8821 $def_direct3d | 8811 $def_direct3d |
8822 $def_directfb | 8812 $def_directfb |