Mercurial > mplayer.hg
comparison configure @ 3275:38344371432f
vo DirectFB support by Jiri Svoboda <Jiri.Svoboda@seznam.cz>
author | arpi |
---|---|
date | Mon, 03 Dec 2001 01:09:36 +0000 |
parents | 534bb7907464 |
children | e279cc05f189 |
comparison
equal
deleted
inserted
replaced
3274:ac7ded58b6df | 3275:38344371432f |
---|---|
146 --enable-x11 build with X11 render support [autodetect] | 146 --enable-x11 build with X11 render support [autodetect] |
147 --enable-fbdev build with FBDev render support [disable] | 147 --enable-fbdev build with FBDev render support [disable] |
148 --enable-mlib build with MLIB support (Solaris only) [autodetect] | 148 --enable-mlib build with MLIB support (Solaris only) [autodetect] |
149 --enable-3dfx build with 3dfx support [disable] | 149 --enable-3dfx build with 3dfx support [disable] |
150 --enable-tdfxfb build with tdfxfb support [disable] | 150 --enable-tdfxfb build with tdfxfb support [disable] |
151 --enable-directfb build with DirectFB support [autodetect] | |
151 | 152 |
152 Audio: | 153 Audio: |
153 --disable-ossaudio disable OSS sound support [autodetect] | 154 --disable-ossaudio disable OSS sound support [autodetect] |
154 --disable-alsa disable alsa sound support [autodetect] | 155 --disable-alsa disable alsa sound support [autodetect] |
155 --disable-sunaudio disable Sun sound support [autodetect] | 156 --disable-sunaudio disable Sun sound support [autodetect] |
682 _gui=no | 683 _gui=no |
683 _termcap=auto | 684 _termcap=auto |
684 _termios=auto | 685 _termios=auto |
685 _3dfx=no | 686 _3dfx=no |
686 _tdfxfb=no | 687 _tdfxfb=no |
688 _directfb=auto | |
687 _largefiles=no | 689 _largefiles=no |
688 _vo2=no | 690 _vo2=no |
689 _language=en | 691 _language=en |
690 _shm=auto | 692 _shm=auto |
691 | 693 |
782 --disable-termios) _termios=no ;; | 784 --disable-termios) _termios=no ;; |
783 --enable-3dfx) _3dfx=yes ;; | 785 --enable-3dfx) _3dfx=yes ;; |
784 --disable-3dfx) _3dfx=no ;; | 786 --disable-3dfx) _3dfx=no ;; |
785 --enable-tdfxfb) _tdfxfb=yes ;; | 787 --enable-tdfxfb) _tdfxfb=yes ;; |
786 --disable-tdfxfb) _tdfxfb=no ;; | 788 --disable-tdfxfb) _tdfxfb=no ;; |
789 --enable-directfb) _directfb=yes ;; | |
790 --disable-directfb) _directfb=no ;; | |
787 --enable-mtrr) _mtrr=yes ;; | 791 --enable-mtrr) _mtrr=yes ;; |
788 --disable-mtrr) _mtrr=no ;; | 792 --disable-mtrr) _mtrr=no ;; |
789 --enable-largefiles) _largefiles=yes ;; | 793 --enable-largefiles) _largefiles=yes ;; |
790 --disable-largefiles) _largefiles=no ;; | 794 --disable-largefiles) _largefiles=no ;; |
791 --enable-vo2) _vo2=yes ;; | 795 --enable-vo2) _vo2=yes ;; |
1254 _vomodules="tdfxfb $_vomodules" | 1258 _vomodules="tdfxfb $_vomodules" |
1255 else | 1259 else |
1256 _def_tdfxfb='#undef HAVE_TDFXFB' | 1260 _def_tdfxfb='#undef HAVE_TDFXFB' |
1257 fi | 1261 fi |
1258 echores "$_tdfxfb" | 1262 echores "$_tdfxfb" |
1263 | |
1264 | |
1265 echocheck "DirectFB" | |
1266 if test "$_directfb" = auto ; then | |
1267 _directfb=no | |
1268 cat > $TMPC <<EOF | |
1269 #include <directfb.h> | |
1270 int main(void) { IDirectFB *foo; return 0; } | |
1271 EOF | |
1272 cc_check -ldirectfb && _directfb=yes | |
1273 fi | |
1274 if test "$_directfb" = yes ; then | |
1275 _def_directfb='#define HAVE_DIRECTFB 1' | |
1276 _vosrc="$_vosrc vo_directfb.c" | |
1277 _ld_directfb='-ldirectfb' | |
1278 else | |
1279 _def_directfb='#undef HAVE_DIRECTFB' | |
1280 fi | |
1281 echores "$_directfb" | |
1259 | 1282 |
1260 | 1283 |
1261 # Checking for localization ... | 1284 # Checking for localization ... |
1262 echocheck "language" | 1285 echocheck "language" |
1263 test -z "$LINGUAS" && LINGUAS="en" | 1286 test -z "$LINGUAS" && LINGUAS="en" |
2595 ARCH_LIB = $_ld_arch $_ld_iconv | 2618 ARCH_LIB = $_ld_arch $_ld_iconv |
2596 DIVX4LINUX = $_divx4linux | 2619 DIVX4LINUX = $_divx4linux |
2597 DECORE_LIB = $_ld_decore | 2620 DECORE_LIB = $_ld_decore |
2598 MENCODER = $_mencoder | 2621 MENCODER = $_mencoder |
2599 ENCORE_LIB = $_ld_encore | 2622 ENCORE_LIB = $_ld_encore |
2623 DIRECTFB_LIB = $_ld_directfb | |
2600 | 2624 |
2601 # --- Some stuff for autoconfigure ---- | 2625 # --- Some stuff for autoconfigure ---- |
2602 $_target_arch | 2626 $_target_arch |
2603 $_confcygwin | 2627 $_confcygwin |
2604 TARGET_CPU=$iproc | 2628 TARGET_CPU=$iproc |
2854 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */ | 2878 /* defined for SDLlib with keyrepeat bugs (before 1.2.1) */ |
2855 $_def_sdlbuggy | 2879 $_def_sdlbuggy |
2856 $_def_ggi | 2880 $_def_ggi |
2857 $_def_3dfx | 2881 $_def_3dfx |
2858 $_def_tdfxfb | 2882 $_def_tdfxfb |
2883 $_def_directfb | |
2859 $_def_mga | 2884 $_def_mga |
2860 $_def_xmga | 2885 $_def_xmga |
2861 $_def_syncfb | 2886 $_def_syncfb |
2862 $_def_fbdev | 2887 $_def_fbdev |
2863 $_def_dxr3 | 2888 $_def_dxr3 |