Mercurial > mplayer.hg
comparison configure @ 15405:93ae97c2de4c
If libggi has been found, search for the libggiwmh extension
w/o relying on it.
patch by Christoph Egger <Christoph_Egger at gmx dot de>
author | diego |
---|---|
date | Wed, 11 May 2005 08:01:52 +0000 |
parents | 3bf744b98095 |
children | 561f617e8944 |
comparison
equal
deleted
inserted
replaced
15404:3448e7c4da37 | 15405:93ae97c2de4c |
---|---|
246 --enable-svga build with SVGAlib support [autodetect] | 246 --enable-svga build with SVGAlib support [autodetect] |
247 --enable-sdl build with SDL render support [autodetect] | 247 --enable-sdl build with SDL render support [autodetect] |
248 --enable-aa build with AAlib render support [autodetect] | 248 --enable-aa build with AAlib render support [autodetect] |
249 --enable-caca build with CACA render support [autodetect] | 249 --enable-caca build with CACA render support [autodetect] |
250 --enable-ggi build with GGI render support [autodetect] | 250 --enable-ggi build with GGI render support [autodetect] |
251 --enable-ggiwmh build with GGI libggiwmh extension [autodetect] | |
251 --enable-directx build with DirectX support [autodetect] | 252 --enable-directx build with DirectX support [autodetect] |
252 --enable-dxr2 build with DXR2 render support [autodetect] | 253 --enable-dxr2 build with DXR2 render support [autodetect] |
253 --enable-dxr3 build with DXR3/H+ render support [autodetect] | 254 --enable-dxr3 build with DXR3/H+ render support [autodetect] |
254 --enable-dvb build with support for output via DVB-Card [autodetect] | 255 --enable-dvb build with support for output via DVB-Card [autodetect] |
255 --enable-dvbhead build with DVB support (HEAD version) [autodetect] | 256 --enable-dvbhead build with DVB support (HEAD version) [autodetect] |
1310 _pnm=yes | 1311 _pnm=yes |
1311 _md5sum=yes | 1312 _md5sum=yes |
1312 _gif=auto | 1313 _gif=auto |
1313 _gl=auto | 1314 _gl=auto |
1314 _ggi=auto | 1315 _ggi=auto |
1316 _ggiwmh=auto | |
1315 _aa=auto | 1317 _aa=auto |
1316 _caca=auto | 1318 _caca=auto |
1317 _svga=auto | 1319 _svga=auto |
1318 _vesa=auto | 1320 _vesa=auto |
1319 _fbdev=auto | 1321 _fbdev=auto |
1475 --disable-gif) _gif=no ;; | 1477 --disable-gif) _gif=no ;; |
1476 --enable-gl) _gl=yes ;; | 1478 --enable-gl) _gl=yes ;; |
1477 --disable-gl) _gl=no ;; | 1479 --disable-gl) _gl=no ;; |
1478 --enable-ggi) _ggi=yes ;; | 1480 --enable-ggi) _ggi=yes ;; |
1479 --disable-ggi) _ggi=no ;; | 1481 --disable-ggi) _ggi=no ;; |
1482 --enable-ggiwmh) _ggiwmh=yes ;; | |
1483 --disable-ggiwmh) _ggiwmh=no ;; | |
1480 --enable-aa) _aa=yes ;; | 1484 --enable-aa) _aa=yes ;; |
1481 --disable-aa) _aa=no ;; | 1485 --disable-aa) _aa=no ;; |
1482 --enable-caca) _caca=yes ;; | 1486 --enable-caca) _caca=yes ;; |
1483 --disable-caca) _caca=no ;; | 1487 --disable-caca) _caca=no ;; |
1484 --enable-svga) _svga=yes ;; | 1488 --enable-svga) _svga=yes ;; |
3816 _def_ggi='#undef HAVE_GGI' | 3820 _def_ggi='#undef HAVE_GGI' |
3817 _novomodules="ggi $_novomodules" | 3821 _novomodules="ggi $_novomodules" |
3818 fi | 3822 fi |
3819 echores "$_ggi" | 3823 echores "$_ggi" |
3820 | 3824 |
3825 echocheck "GGI extension: libggiwmh" | |
3826 if test "$_ggiwmh" = auto ; then | |
3827 _ggiwmh=no | |
3828 cat > $TMPC << EOF | |
3829 #include <ggi/ggi.h> | |
3830 #include <ggi/wmh.h> | |
3831 int main(void) { return 0; } | |
3832 EOF | |
3833 cc_check -lggi -lggiwmh && _ggiwmh=yes | |
3834 fi | |
3835 # needed to get right output on obscure combination | |
3836 # like --disable-ggi --enable-ggiwmh | |
3837 if test "$_ggi" = yes && test "$_ggiwmh" = yes ; then | |
3838 _def_ggiwmh='#define HAVE_GGIWMH 1' | |
3839 _ld_ggi="$_ld_ggi -lggiwmh" | |
3840 else | |
3841 _ggiwmh=no | |
3842 _def_ggiwmh='#undef HAVE_GGIWMH' | |
3843 fi | |
3844 echores "$_ggiwmh" | |
3845 | |
3821 | 3846 |
3822 echocheck "AA" | 3847 echocheck "AA" |
3823 if test "$_aa" = auto ; then | 3848 if test "$_aa" = auto ; then |
3824 cat > $TMPC << EOF | 3849 cat > $TMPC << EOF |
3825 #include <aalib.h> | 3850 #include <aalib.h> |
7581 $_def_sdl | 7606 $_def_sdl |
7582 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */ | 7607 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */ |
7583 $_def_sdlbuggy | 7608 $_def_sdlbuggy |
7584 $_def_directx | 7609 $_def_directx |
7585 $_def_ggi | 7610 $_def_ggi |
7611 $_def_ggiwmh | |
7586 $_def_3dfx | 7612 $_def_3dfx |
7587 $_def_tdfxfb | 7613 $_def_tdfxfb |
7588 $_def_tdfxvid | 7614 $_def_tdfxvid |
7589 $_def_directfb | 7615 $_def_directfb |
7590 $_def_directfb_version | 7616 $_def_directfb_version |