Mercurial > mplayer.hg
comparison configure @ 30158:9c96c5a55b3e
cosmetics: tabs to spaces, some reindentation
author | diego |
---|---|
date | Mon, 04 Jan 2010 12:24:07 +0000 |
parents | 05f3923f11b7 |
children | c02b833051a7 |
comparison
equal
deleted
inserted
replaced
30157:05f3923f11b7 | 30158:9c96c5a55b3e |
---|---|
191 } | 191 } |
192 ############################################################################# | 192 ############################################################################# |
193 | 193 |
194 # Check how echo works in this /bin/sh | 194 # Check how echo works in this /bin/sh |
195 case $(echo -n) in | 195 case $(echo -n) in |
196 -n) _echo_n= _echo_c='\c' ;; # SysV echo | 196 -n) _echo_n= _echo_c='\c' ;; # SysV echo |
197 *) _echo_n='-n ' _echo_c= ;; # BSD echo | 197 *) _echo_n='-n ' _echo_c= ;; # BSD echo |
198 esac | 198 esac |
199 | 199 |
200 msg_lang_all=$(echo help/help_mp-??.h help/help_mp-??_??.h | sed -e "s:help/help_mp-\(..\).h:\1:g" -e "s:help/help_mp-\(.....\).h:\1:g") | 200 msg_lang_all=$(echo help/help_mp-??.h help/help_mp-??_??.h | sed -e "s:help/help_mp-\(..\).h:\1:g" -e "s:help/help_mp-\(.....\).h:\1:g") |
201 man_lang_all=$(echo DOCS/man/??/mplayer.1 DOCS/man/??_??/mplayer.1 | sed -e "s:DOCS/man/\(..\)/mplayer.1:\1:g" -e "s:DOCS/man/\(.._..\)/mplayer.1:\1:g") | 201 man_lang_all=$(echo DOCS/man/??/mplayer.1 DOCS/man/??_??/mplayer.1 | sed -e "s:DOCS/man/\(..\)/mplayer.1:\1:g" -e "s:DOCS/man/\(.._..\)/mplayer.1:\1:g") |
202 doc_lang_all=$(echo DOCS/xml/??/ DOCS/xml/??_??/ | sed -e "s:DOCS/xml/\(..\)/:\1:g" -e "s:DOCS/xml/\(.._..\)/:\1:g") | 202 doc_lang_all=$(echo DOCS/xml/??/ DOCS/xml/??_??/ | sed -e "s:DOCS/xml/\(..\)/:\1:g" -e "s:DOCS/xml/\(.._..\)/:\1:g") |
283 --disable-ass-internal disable internal SSA/ASS subtitle support [autodetect] | 283 --disable-ass-internal disable internal SSA/ASS subtitle support [autodetect] |
284 --disable-ass disable SSA/ASS subtitle support [autodetect] | 284 --disable-ass disable SSA/ASS subtitle support [autodetect] |
285 --enable-rpath enable runtime linker path for extra libs [disabled] | 285 --enable-rpath enable runtime linker path for extra libs [disabled] |
286 | 286 |
287 Codecs: | 287 Codecs: |
288 --enable-gif enable GIF support [autodetect] | 288 --enable-gif enable GIF support [autodetect] |
289 --enable-png enable PNG input/output support [autodetect] | 289 --enable-png enable PNG input/output support [autodetect] |
290 --enable-mng enable MNG input support [autodetect] | 290 --enable-mng enable MNG input support [autodetect] |
291 --enable-jpeg enable JPEG input/output support [autodetect] | 291 --enable-jpeg enable JPEG input/output support [autodetect] |
292 --enable-libcdio enable libcdio support [autodetect] | 292 --enable-libcdio enable libcdio support [autodetect] |
293 --enable-liblzo enable liblzo support [autodetect] | 293 --enable-liblzo enable liblzo support [autodetect] |
294 --disable-win32dll disable Win32 DLL support [enabled] | 294 --disable-win32dll disable Win32 DLL support [enabled] |
295 --disable-qtx disable QuickTime codecs support [enabled] | 295 --disable-qtx disable QuickTime codecs support [enabled] |
296 --disable-xanim disable XAnim codecs support [enabled] | 296 --disable-xanim disable XAnim codecs support [enabled] |
297 --disable-real disable RealPlayer codecs support [enabled] | 297 --disable-real disable RealPlayer codecs support [enabled] |
298 --disable-xvid disable Xvid [autodetect] | 298 --disable-xvid disable Xvid [autodetect] |
341 --disable-liba52-internal disable builtin liba52 [autodetect] | 341 --disable-liba52-internal disable builtin liba52 [autodetect] |
342 --disable-libmpeg2 disable builtin libmpeg2 [autodetect] | 342 --disable-libmpeg2 disable builtin libmpeg2 [autodetect] |
343 --disable-musepack disable musepack support [autodetect] | 343 --disable-musepack disable musepack support [autodetect] |
344 --disable-libopencore_amrnb disable libopencore_amr narrowband [autodetect] | 344 --disable-libopencore_amrnb disable libopencore_amr narrowband [autodetect] |
345 --disable-libopencore_amrwb disable libopencore_amr wideband [autodetect] | 345 --disable-libopencore_amrwb disable libopencore_amr wideband [autodetect] |
346 --disable-libopenjpeg disable OpenJPEG (JPEG2000) input/output support [autodetect] | 346 --disable-libopenjpeg disable OpenJPEG (JPEG2000) input/output support [autodetect] |
347 --disable-decoder=DECODER disable specified FFmpeg decoder | 347 --disable-decoder=DECODER disable specified FFmpeg decoder |
348 --enable-decoder=DECODER enable specified FFmpeg decoder | 348 --enable-decoder=DECODER enable specified FFmpeg decoder |
349 --disable-encoder=ENCODER disable specified FFmpeg encoder | 349 --disable-encoder=ENCODER disable specified FFmpeg encoder |
350 --enable-encoder=ENCODER enable specified FFmpeg encoder | 350 --enable-encoder=ENCODER enable specified FFmpeg encoder |
351 --disable-parser=PARSER disable specified FFmpeg parser | 351 --disable-parser=PARSER disable specified FFmpeg parser |
401 --enable-tdfxfb enable tdfxfb video output [disable] | 401 --enable-tdfxfb enable tdfxfb video output [disable] |
402 --enable-s3fb enable s3fb (S3 ViRGE) video output [disable] | 402 --enable-s3fb enable s3fb (S3 ViRGE) video output [disable] |
403 --enable-wii enable Nintendo Wii/GameCube video output [disable] | 403 --enable-wii enable Nintendo Wii/GameCube video output [disable] |
404 --enable-directfb enable DirectFB video output [autodetect] | 404 --enable-directfb enable DirectFB video output [autodetect] |
405 --enable-zr enable ZR360[56]7/ZR36060 video output [autodetect] | 405 --enable-zr enable ZR360[56]7/ZR36060 video output [autodetect] |
406 --enable-bl enable Blinkenlights video output [disable] | 406 --enable-bl enable Blinkenlights video output [disable] |
407 --enable-tdfxvid enable tdfx_vid video output [disable] | 407 --enable-tdfxvid enable tdfx_vid video output [disable] |
408 --enable-xvr100 enable SUN XVR-100 video output [autodetect] | 408 --enable-xvr100 enable SUN XVR-100 video output [autodetect] |
409 --disable-tga disable Targa video output [enable] | 409 --disable-tga disable Targa video output [enable] |
410 --disable-pnm disable PNM video output [enable] | 410 --disable-pnm disable PNM video output [enable] |
411 --disable-md5sum disable md5sum video output [enable] | 411 --disable-md5sum disable md5sum video output [enable] |
412 --disable-yuv4mpeg disable yuv4mpeg video output [enable] | 412 --disable-yuv4mpeg disable yuv4mpeg video output [enable] |
413 --disable-corevideo disable CoreVideo video output [autodetect] | 413 --disable-corevideo disable CoreVideo video output [autodetect] |
414 --disable-quartz disable Quartz video output [autodetect] | 414 --disable-quartz disable Quartz video output [autodetect] |
415 | 415 |
416 Audio output: | 416 Audio output: |
417 --disable-alsa disable ALSA audio output [autodetect] | 417 --disable-alsa disable ALSA audio output [autodetect] |
903 ;; | 903 ;; |
904 --enable-runtime-cpudetection) _runtime_cpudetection=yes ;; | 904 --enable-runtime-cpudetection) _runtime_cpudetection=yes ;; |
905 --disable-runtime-cpudetection) _runtime_cpudetection=no ;; | 905 --disable-runtime-cpudetection) _runtime_cpudetection=no ;; |
906 --enable-cross-compile) _cross_compile=yes ;; | 906 --enable-cross-compile) _cross_compile=yes ;; |
907 --disable-cross-compile) _cross_compile=no ;; | 907 --disable-cross-compile) _cross_compile=no ;; |
908 --enable-mencoder) _mencoder=yes ;; | 908 --enable-mencoder) _mencoder=yes ;; |
909 --disable-mencoder) _mencoder=no ;; | 909 --disable-mencoder) _mencoder=no ;; |
910 --enable-mplayer) _mplayer=yes ;; | 910 --enable-mplayer) _mplayer=yes ;; |
911 --disable-mplayer) _mplayer=no ;; | 911 --disable-mplayer) _mplayer=no ;; |
912 --enable-dynamic-plugins) _dynamic_plugins=yes ;; | 912 --enable-dynamic-plugins) _dynamic_plugins=yes ;; |
913 --disable-dynamic-plugins) _dynamic_plugins=no ;; | 913 --disable-dynamic-plugins) _dynamic_plugins=no ;; |
914 --enable-x11) _x11=yes ;; | 914 --enable-x11) _x11=yes ;; |
915 --disable-x11) _x11=no ;; | 915 --disable-x11) _x11=no ;; |
916 --enable-xshape) _xshape=yes ;; | 916 --enable-xshape) _xshape=yes ;; |
917 --disable-xshape) _xshape=no ;; | 917 --disable-xshape) _xshape=no ;; |
918 --enable-xss) _xss=yes ;; | 918 --enable-xss) _xss=yes ;; |
919 --disable-xss) _xss=no ;; | 919 --disable-xss) _xss=no ;; |
920 --enable-xv) _xv=yes ;; | 920 --enable-xv) _xv=yes ;; |
921 --disable-xv) _xv=no ;; | 921 --disable-xv) _xv=no ;; |
922 --enable-xvmc) _xvmc=yes ;; | 922 --enable-xvmc) _xvmc=yes ;; |
923 --disable-xvmc) _xvmc=no ;; | 923 --disable-xvmc) _xvmc=no ;; |
924 --enable-vdpau) _vdpau=yes ;; | 924 --enable-vdpau) _vdpau=yes ;; |
925 --disable-vdpau) _vdpau=no ;; | 925 --disable-vdpau) _vdpau=no ;; |
926 --enable-sdl) _sdl=yes ;; | 926 --enable-sdl) _sdl=yes ;; |
927 --disable-sdl) _sdl=no ;; | 927 --disable-sdl) _sdl=no ;; |
928 --enable-kva) _kva=yes ;; | 928 --enable-kva) _kva=yes ;; |
929 --disable-kva) _kva=no ;; | 929 --disable-kva) _kva=no ;; |
930 --enable-direct3d) _direct3d=yes ;; | 930 --enable-direct3d) _direct3d=yes ;; |
931 --disable-direct3d) _direct3d=no ;; | 931 --disable-direct3d) _direct3d=no ;; |
932 --enable-directx) _directx=yes ;; | 932 --enable-directx) _directx=yes ;; |
933 --disable-directx) _directx=no ;; | 933 --disable-directx) _directx=no ;; |
934 --enable-win32waveout) _win32waveout=yes ;; | 934 --enable-win32waveout) _win32waveout=yes ;; |
935 --disable-win32waveout) _win32waveout=no ;; | 935 --disable-win32waveout) _win32waveout=no ;; |
936 --enable-nas) _nas=yes ;; | 936 --enable-nas) _nas=yes ;; |
937 --disable-nas) _nas=no ;; | 937 --disable-nas) _nas=no ;; |
938 --enable-png) _png=yes ;; | 938 --enable-png) _png=yes ;; |
939 --disable-png) _png=no ;; | 939 --disable-png) _png=no ;; |
940 --enable-mng) _mng=yes ;; | 940 --enable-mng) _mng=yes ;; |
941 --disable-mng) _mng=no ;; | 941 --disable-mng) _mng=no ;; |
942 --enable-jpeg) _jpeg=yes ;; | 942 --enable-jpeg) _jpeg=yes ;; |
943 --disable-jpeg) _jpeg=no ;; | 943 --disable-jpeg) _jpeg=no ;; |
944 --enable-libopenjpeg) libopenjpeg=yes ;; | 944 --enable-libopenjpeg) libopenjpeg=yes ;; |
945 --disable-libopenjpeg)libopenjpeg=no ;; | 945 --disable-libopenjpeg)libopenjpeg=no ;; |
946 --enable-pnm) _pnm=yes ;; | 946 --enable-pnm) _pnm=yes ;; |
947 --disable-pnm) _pnm=no ;; | 947 --disable-pnm) _pnm=no ;; |
948 --enable-md5sum) _md5sum=yes ;; | 948 --enable-md5sum) _md5sum=yes ;; |
949 --disable-md5sum) _md5sum=no ;; | 949 --disable-md5sum) _md5sum=no ;; |
950 --enable-yuv4mpeg) _yuv4mpeg=yes ;; | 950 --enable-yuv4mpeg) _yuv4mpeg=yes ;; |
951 --disable-yuv4mpeg) _yuv4mpeg=no ;; | 951 --disable-yuv4mpeg) _yuv4mpeg=no ;; |
952 --enable-gif) _gif=yes ;; | 952 --enable-gif) _gif=yes ;; |
953 --disable-gif) _gif=no ;; | 953 --disable-gif) _gif=no ;; |
954 --enable-gl) _gl=yes ;; | 954 --enable-gl) _gl=yes ;; |
955 --disable-gl) _gl=no ;; | 955 --disable-gl) _gl=no ;; |
956 --enable-matrixview) matrixview=yes ;; | 956 --enable-matrixview) matrixview=yes ;; |
957 --disable-matrixview) matrixview=no ;; | 957 --disable-matrixview) matrixview=no ;; |
958 --enable-ggi) _ggi=yes ;; | 958 --enable-ggi) _ggi=yes ;; |
959 --disable-ggi) _ggi=no ;; | 959 --disable-ggi) _ggi=no ;; |
960 --enable-ggiwmh) _ggiwmh=yes ;; | 960 --enable-ggiwmh) _ggiwmh=yes ;; |
961 --disable-ggiwmh) _ggiwmh=no ;; | 961 --disable-ggiwmh) _ggiwmh=no ;; |
962 --enable-aa) _aa=yes ;; | 962 --enable-aa) _aa=yes ;; |
963 --disable-aa) _aa=no ;; | 963 --disable-aa) _aa=no ;; |
964 --enable-caca) _caca=yes ;; | 964 --enable-caca) _caca=yes ;; |
965 --disable-caca) _caca=no ;; | 965 --disable-caca) _caca=no ;; |
966 --enable-svga) _svga=yes ;; | 966 --enable-svga) _svga=yes ;; |
967 --disable-svga) _svga=no ;; | 967 --disable-svga) _svga=no ;; |
968 --enable-vesa) _vesa=yes ;; | 968 --enable-vesa) _vesa=yes ;; |
969 --disable-vesa) _vesa=no ;; | 969 --disable-vesa) _vesa=no ;; |
970 --enable-fbdev) _fbdev=yes ;; | 970 --enable-fbdev) _fbdev=yes ;; |
971 --disable-fbdev) _fbdev=no ;; | 971 --disable-fbdev) _fbdev=no ;; |
972 --enable-dvb) _dvb=yes ;; | 972 --enable-dvb) _dvb=yes ;; |
973 --disable-dvb) _dvb=no ;; | 973 --disable-dvb) _dvb=no ;; |
974 --enable-dvbhead) _dvbhead=yes ;; | 974 --enable-dvbhead) _dvbhead=yes ;; |
975 --disable-dvbhead) _dvbhead=no ;; | 975 --disable-dvbhead) _dvbhead=no ;; |
976 --enable-dxr2) _dxr2=yes ;; | 976 --enable-dxr2) _dxr2=yes ;; |
977 --disable-dxr2) _dxr2=no ;; | 977 --disable-dxr2) _dxr2=no ;; |
978 --enable-dxr3) _dxr3=yes ;; | 978 --enable-dxr3) _dxr3=yes ;; |
979 --disable-dxr3) _dxr3=no ;; | 979 --disable-dxr3) _dxr3=no ;; |
980 --enable-ivtv) _ivtv=yes ;; | 980 --enable-ivtv) _ivtv=yes ;; |
981 --disable-ivtv) _ivtv=no ;; | 981 --disable-ivtv) _ivtv=no ;; |
982 --enable-v4l2) _v4l2=yes ;; | 982 --enable-v4l2) _v4l2=yes ;; |
983 --disable-v4l2) _v4l2=no ;; | 983 --disable-v4l2) _v4l2=no ;; |
984 --enable-iconv) _iconv=yes ;; | 984 --enable-iconv) _iconv=yes ;; |
985 --disable-iconv) _iconv=no ;; | 985 --disable-iconv) _iconv=no ;; |
986 --enable-langinfo) _langinfo=yes ;; | 986 --enable-langinfo) _langinfo=yes ;; |
987 --disable-langinfo) _langinfo=no ;; | 987 --disable-langinfo) _langinfo=no ;; |
988 --enable-rtc) _rtc=yes ;; | 988 --enable-rtc) _rtc=yes ;; |
989 --disable-rtc) _rtc=no ;; | 989 --disable-rtc) _rtc=no ;; |
990 --enable-libdv) _libdv=yes ;; | 990 --enable-libdv) _libdv=yes ;; |
991 --disable-libdv) _libdv=no ;; | 991 --disable-libdv) _libdv=no ;; |
992 --enable-ossaudio) _ossaudio=yes ;; | 992 --enable-ossaudio) _ossaudio=yes ;; |
993 --disable-ossaudio) _ossaudio=no ;; | 993 --disable-ossaudio) _ossaudio=no ;; |
994 --enable-arts) _arts=yes ;; | 994 --enable-arts) _arts=yes ;; |
995 --disable-arts) _arts=no ;; | 995 --disable-arts) _arts=no ;; |
996 --enable-esd) _esd=yes ;; | 996 --enable-esd) _esd=yes ;; |
997 --disable-esd) _esd=no ;; | 997 --disable-esd) _esd=no ;; |
998 --enable-pulse) _pulse=yes ;; | 998 --enable-pulse) _pulse=yes ;; |
999 --disable-pulse) _pulse=no ;; | 999 --disable-pulse) _pulse=no ;; |
1000 --enable-jack) _jack=yes ;; | 1000 --enable-jack) _jack=yes ;; |
1001 --disable-jack) _jack=no ;; | 1001 --disable-jack) _jack=no ;; |
1002 --enable-openal) _openal=yes ;; | 1002 --enable-openal) _openal=yes ;; |
1003 --disable-openal) _openal=no ;; | 1003 --disable-openal) _openal=no ;; |
1004 --enable-dart) _dart=yes ;; | 1004 --enable-dart) _dart=yes ;; |
1005 --disable-dart) _dart=no ;; | 1005 --disable-dart) _dart=no ;; |
1006 --enable-mad) _mad=yes ;; | 1006 --enable-mad) _mad=yes ;; |
1007 --disable-mad) _mad=no ;; | 1007 --disable-mad) _mad=no ;; |
1008 --enable-mp3lame) _mp3lame=yes ;; | 1008 --enable-mp3lame) _mp3lame=yes ;; |
1009 --disable-mp3lame) _mp3lame=no ;; | 1009 --disable-mp3lame) _mp3lame=no ;; |
1010 --enable-mp3lame-lavc) _mp3lame_lavc=yes ;; | 1010 --enable-mp3lame-lavc) _mp3lame_lavc=yes ;; |
1011 --disable-mp3lame-lavc) _mp3lame_lavc=no ;; | 1011 --disable-mp3lame-lavc) _mp3lame_lavc=no ;; |
1012 --enable-toolame) _toolame=yes ;; | 1012 --enable-toolame) _toolame=yes ;; |
1013 --disable-toolame) _toolame=no ;; | 1013 --disable-toolame) _toolame=no ;; |
1014 --enable-twolame) _twolame=yes ;; | 1014 --enable-twolame) _twolame=yes ;; |
1015 --disable-twolame) _twolame=no ;; | 1015 --disable-twolame) _twolame=no ;; |
1016 --enable-libcdio) _libcdio=yes ;; | 1016 --enable-libcdio) _libcdio=yes ;; |
1017 --disable-libcdio) _libcdio=no ;; | 1017 --disable-libcdio) _libcdio=no ;; |
1018 --enable-liblzo) _liblzo=yes ;; | 1018 --enable-liblzo) _liblzo=yes ;; |
1019 --disable-liblzo) _liblzo=no ;; | 1019 --disable-liblzo) _liblzo=no ;; |
1020 --enable-libvorbis) _libvorbis=yes ;; | 1020 --enable-libvorbis) _libvorbis=yes ;; |
1021 --disable-libvorbis) _libvorbis=no ;; | 1021 --disable-libvorbis) _libvorbis=no ;; |
1022 --enable-speex) _speex=yes ;; | 1022 --enable-speex) _speex=yes ;; |
1023 --disable-speex) _speex=no ;; | 1023 --disable-speex) _speex=no ;; |
1024 --enable-tremor) _tremor=yes ;; | 1024 --enable-tremor) _tremor=yes ;; |
1025 --disable-tremor) _tremor=no ;; | 1025 --disable-tremor) _tremor=no ;; |
1026 --enable-tremor-internal) _tremor_internal=yes ;; | 1026 --enable-tremor-internal) _tremor_internal=yes ;; |
1027 --disable-tremor-internal) _tremor_internal=no ;; | 1027 --disable-tremor-internal) _tremor_internal=no ;; |
1028 --enable-tremor-low) _tremor_low=yes ;; | 1028 --enable-tremor-low) _tremor_low=yes ;; |
1029 --disable-tremor-low) _tremor_low=no ;; | 1029 --disable-tremor-low) _tremor_low=no ;; |
1030 --enable-theora) _theora=yes ;; | 1030 --enable-theora) _theora=yes ;; |
1031 --disable-theora) _theora=no ;; | 1031 --disable-theora) _theora=no ;; |
1032 --enable-mp3lib) _mp3lib=yes ;; | 1032 --enable-mp3lib) _mp3lib=yes ;; |
1033 --disable-mp3lib) _mp3lib=no ;; | 1033 --disable-mp3lib) _mp3lib=no ;; |
1034 --enable-liba52-internal) _liba52_internal=yes ;; | 1034 --enable-liba52-internal) _liba52_internal=yes ;; |
1035 --disable-liba52-internal) _liba52_internal=no ;; | 1035 --disable-liba52-internal) _liba52_internal=no ;; |
1036 --enable-liba52) _liba52=yes ;; | 1036 --enable-liba52) _liba52=yes ;; |
1037 --disable-liba52) _liba52=no ;; | 1037 --disable-liba52) _liba52=no ;; |
1038 --enable-libdca) _libdca=yes ;; | 1038 --enable-libdca) _libdca=yes ;; |
1039 --disable-libdca) _libdca=no ;; | 1039 --disable-libdca) _libdca=no ;; |
1040 --enable-libmpeg2) _libmpeg2=yes ;; | 1040 --enable-libmpeg2) _libmpeg2=yes ;; |
1041 --disable-libmpeg2) _libmpeg2=no ;; | 1041 --disable-libmpeg2) _libmpeg2=no ;; |
1042 --enable-musepack) _musepack=yes ;; | 1042 --enable-musepack) _musepack=yes ;; |
1043 --disable-musepack) _musepack=no ;; | 1043 --disable-musepack) _musepack=no ;; |
1044 --enable-faad) _faad=yes ;; | 1044 --enable-faad) _faad=yes ;; |
1045 --disable-faad) _faad=no ;; | 1045 --disable-faad) _faad=no ;; |
1046 --enable-faad-internal) _faad_internal=yes ;; | 1046 --enable-faad-internal) _faad_internal=yes ;; |
1047 --disable-faad-internal) _faad_internal=no ;; | 1047 --disable-faad-internal) _faad_internal=no ;; |
1048 --enable-faad-fixed) _faad_fixed=yes ;; | 1048 --enable-faad-fixed) _faad_fixed=yes ;; |
1049 --disable-faad-fixed) _faad_fixed=no ;; | 1049 --disable-faad-fixed) _faad_fixed=no ;; |
1050 --enable-faac) _faac=yes ;; | 1050 --enable-faac) _faac=yes ;; |
1051 --disable-faac) _faac=no ;; | 1051 --disable-faac) _faac=no ;; |
1052 --enable-faac-lavc) _faac_lavc=yes ;; | 1052 --enable-faac-lavc) _faac_lavc=yes ;; |
1053 --disable-faac-lavc) _faac_lavc=no ;; | 1053 --disable-faac-lavc) _faac_lavc=no ;; |
1054 --enable-ladspa) _ladspa=yes ;; | 1054 --enable-ladspa) _ladspa=yes ;; |
1055 --disable-ladspa) _ladspa=no ;; | 1055 --disable-ladspa) _ladspa=no ;; |
1056 --enable-libbs2b) _libbs2b=yes ;; | 1056 --enable-libbs2b) _libbs2b=yes ;; |
1057 --disable-libbs2b) _libbs2b=no ;; | 1057 --disable-libbs2b) _libbs2b=no ;; |
1058 --enable-xmms) _xmms=yes ;; | 1058 --enable-xmms) _xmms=yes ;; |
1059 --disable-xmms) _xmms=no ;; | 1059 --disable-xmms) _xmms=no ;; |
1060 --enable-vcd) _vcd=yes ;; | 1060 --enable-vcd) _vcd=yes ;; |
1061 --disable-vcd) _vcd=no ;; | 1061 --disable-vcd) _vcd=no ;; |
1062 --enable-dvdread) _dvdread=yes ;; | 1062 --enable-dvdread) _dvdread=yes ;; |
1063 --disable-dvdread) _dvdread=no ;; | 1063 --disable-dvdread) _dvdread=no ;; |
1064 --enable-dvdread-internal) _dvdread_internal=yes ;; | 1064 --enable-dvdread-internal) _dvdread_internal=yes ;; |
1065 --disable-dvdread-internal) _dvdread_internal=no ;; | 1065 --disable-dvdread-internal) _dvdread_internal=no ;; |
1066 --enable-libdvdcss-internal) _libdvdcss_internal=yes ;; | 1066 --enable-libdvdcss-internal) _libdvdcss_internal=yes ;; |
1067 --disable-libdvdcss-internal) _libdvdcss_internal=no ;; | 1067 --disable-libdvdcss-internal) _libdvdcss_internal=no ;; |
1068 --enable-dvdnav) _dvdnav=yes ;; | 1068 --enable-dvdnav) _dvdnav=yes ;; |
1069 --disable-dvdnav) _dvdnav=no ;; | 1069 --disable-dvdnav) _dvdnav=no ;; |
1070 --enable-xanim) _xanim=yes ;; | 1070 --enable-xanim) _xanim=yes ;; |
1071 --disable-xanim) _xanim=no ;; | 1071 --disable-xanim) _xanim=no ;; |
1072 --enable-real) _real=yes ;; | 1072 --enable-real) _real=yes ;; |
1073 --disable-real) _real=no ;; | 1073 --disable-real) _real=no ;; |
1074 --enable-live) _live=yes ;; | 1074 --enable-live) _live=yes ;; |
1075 --disable-live) _live=no ;; | 1075 --disable-live) _live=no ;; |
1076 --enable-nemesi) _nemesi=yes ;; | 1076 --enable-nemesi) _nemesi=yes ;; |
1077 --disable-nemesi) _nemesi=no ;; | 1077 --disable-nemesi) _nemesi=no ;; |
1078 --enable-xinerama) _xinerama=yes ;; | 1078 --enable-xinerama) _xinerama=yes ;; |
1079 --disable-xinerama) _xinerama=no ;; | 1079 --disable-xinerama) _xinerama=no ;; |
1080 --enable-mga) _mga=yes ;; | 1080 --enable-mga) _mga=yes ;; |
1081 --disable-mga) _mga=no ;; | 1081 --disable-mga) _mga=no ;; |
1082 --enable-xmga) _xmga=yes ;; | 1082 --enable-xmga) _xmga=yes ;; |
1083 --disable-xmga) _xmga=no ;; | 1083 --disable-xmga) _xmga=no ;; |
1084 --enable-vm) _vm=yes ;; | 1084 --enable-vm) _vm=yes ;; |
1085 --disable-vm) _vm=no ;; | 1085 --disable-vm) _vm=no ;; |
1086 --enable-xf86keysym) _xf86keysym=yes ;; | 1086 --enable-xf86keysym) _xf86keysym=yes ;; |
1087 --disable-xf86keysym) _xf86keysym=no ;; | 1087 --disable-xf86keysym) _xf86keysym=no ;; |
1088 --enable-mlib) _mlib=yes ;; | 1088 --enable-mlib) _mlib=yes ;; |
1089 --disable-mlib) _mlib=no ;; | 1089 --disable-mlib) _mlib=no ;; |
1090 --enable-sunaudio) _sunaudio=yes ;; | 1090 --enable-sunaudio) _sunaudio=yes ;; |
1091 --disable-sunaudio) _sunaudio=no ;; | 1091 --disable-sunaudio) _sunaudio=no ;; |
1092 --enable-sgiaudio) _sgiaudio=yes ;; | 1092 --enable-sgiaudio) _sgiaudio=yes ;; |
1093 --disable-sgiaudio) _sgiaudio=no ;; | 1093 --disable-sgiaudio) _sgiaudio=no ;; |
1094 --enable-alsa) _alsa=yes ;; | 1094 --enable-alsa) _alsa=yes ;; |
1095 --disable-alsa) _alsa=no ;; | 1095 --disable-alsa) _alsa=no ;; |
1096 --enable-tv) _tv=yes ;; | 1096 --enable-tv) _tv=yes ;; |
1097 --disable-tv) _tv=no ;; | 1097 --disable-tv) _tv=no ;; |
1098 --enable-tv-bsdbt848) _tv_bsdbt848=yes ;; | 1098 --enable-tv-bsdbt848) _tv_bsdbt848=yes ;; |
1099 --disable-tv-bsdbt848) _tv_bsdbt848=no ;; | 1099 --disable-tv-bsdbt848) _tv_bsdbt848=no ;; |
1100 --enable-tv-v4l1) _tv_v4l1=yes ;; | 1100 --enable-tv-v4l1) _tv_v4l1=yes ;; |
1101 --disable-tv-v4l1) _tv_v4l1=no ;; | 1101 --disable-tv-v4l1) _tv_v4l1=no ;; |
1102 --enable-tv-v4l2) _tv_v4l2=yes ;; | 1102 --enable-tv-v4l2) _tv_v4l2=yes ;; |
1103 --disable-tv-v4l2) _tv_v4l2=no ;; | 1103 --disable-tv-v4l2) _tv_v4l2=no ;; |
1104 --enable-tv-dshow) _tv_dshow=yes ;; | 1104 --enable-tv-dshow) _tv_dshow=yes ;; |
1105 --disable-tv-dshow) _tv_dshow=no ;; | 1105 --disable-tv-dshow) _tv_dshow=no ;; |
1106 --enable-radio) _radio=yes ;; | 1106 --enable-radio) _radio=yes ;; |
1107 --enable-radio-capture) _radio_capture=yes ;; | 1107 --enable-radio-capture) _radio_capture=yes ;; |
1108 --disable-radio-capture) _radio_capture=no ;; | 1108 --disable-radio-capture) _radio_capture=no ;; |
1109 --disable-radio) _radio=no ;; | 1109 --disable-radio) _radio=no ;; |
1110 --enable-radio-v4l) _radio_v4l=yes ;; | 1110 --enable-radio-v4l) _radio_v4l=yes ;; |
1111 --disable-radio-v4l) _radio_v4l=no ;; | 1111 --disable-radio-v4l) _radio_v4l=no ;; |
1112 --enable-radio-v4l2) _radio_v4l2=yes ;; | 1112 --enable-radio-v4l2) _radio_v4l2=yes ;; |
1113 --disable-radio-v4l2) _radio_v4l2=no ;; | 1113 --disable-radio-v4l2) _radio_v4l2=no ;; |
1114 --enable-radio-bsdbt848) _radio_bsdbt848=yes ;; | 1114 --enable-radio-bsdbt848) _radio_bsdbt848=yes ;; |
1115 --disable-radio-bsdbt848) _radio_bsdbt848=no ;; | 1115 --disable-radio-bsdbt848) _radio_bsdbt848=no ;; |
1116 --enable-pvr) _pvr=yes ;; | 1116 --enable-pvr) _pvr=yes ;; |
1117 --disable-pvr) _pvr=no ;; | 1117 --disable-pvr) _pvr=no ;; |
1118 --enable-fastmemcpy) _fastmemcpy=yes ;; | 1118 --enable-fastmemcpy) _fastmemcpy=yes ;; |
1119 --disable-fastmemcpy) _fastmemcpy=no ;; | 1119 --disable-fastmemcpy) _fastmemcpy=no ;; |
1120 --enable-network) _network=yes ;; | 1120 --enable-network) _network=yes ;; |
1121 --disable-network) _network=no ;; | 1121 --disable-network) _network=no ;; |
1122 --enable-winsock2_h) _winsock2_h=yes ;; | 1122 --enable-winsock2_h) _winsock2_h=yes ;; |
1123 --disable-winsock2_h) _winsock2_h=no ;; | 1123 --disable-winsock2_h) _winsock2_h=no ;; |
1124 --enable-smb) _smb=yes ;; | 1124 --enable-smb) _smb=yes ;; |
1125 --disable-smb) _smb=no ;; | 1125 --disable-smb) _smb=no ;; |
1126 --enable-vidix) _vidix=yes ;; | 1126 --enable-vidix) _vidix=yes ;; |
1127 --disable-vidix) _vidix=no ;; | 1127 --disable-vidix) _vidix=no ;; |
1128 --with-vidix-drivers=*) | 1128 --with-vidix-drivers=*) |
1129 _vidix_drivers=$(echo $ac_option | cut -d '=' -f 2) | 1129 _vidix_drivers=$(echo $ac_option | cut -d '=' -f 2) |
1130 ;; | 1130 ;; |
1131 --disable-vidix-pcidb) _vidix_pcidb=no ;; | 1131 --disable-vidix-pcidb) _vidix_pcidb=no ;; |
1132 --enable-dhahelper) _dhahelper=yes ;; | 1132 --enable-dhahelper) _dhahelper=yes ;; |
1133 --disable-dhahelper) _dhahelper=no ;; | 1133 --disable-dhahelper) _dhahelper=no ;; |
1134 --enable-svgalib_helper) _svgalib_helper=yes ;; | 1134 --enable-svgalib_helper) _svgalib_helper=yes ;; |
1135 --disable-svgalib_helper) _svgalib_helper=no ;; | 1135 --disable-svgalib_helper) _svgalib_helper=no ;; |
1136 --enable-joystick) _joystick=yes ;; | 1136 --enable-joystick) _joystick=yes ;; |
1137 --disable-joystick) _joystick=no ;; | 1137 --disable-joystick) _joystick=no ;; |
1138 --enable-xvid) _xvid=yes ;; | 1138 --enable-xvid) _xvid=yes ;; |
1139 --disable-xvid) _xvid=no ;; | 1139 --disable-xvid) _xvid=no ;; |
1140 --enable-xvid-lavc) _xvid_lavc=yes ;; | 1140 --enable-xvid-lavc) _xvid_lavc=yes ;; |
1141 --disable-xvid-lavc) _xvid_lavc=no ;; | 1141 --disable-xvid-lavc) _xvid_lavc=no ;; |
1142 --enable-x264) _x264=yes ;; | 1142 --enable-x264) _x264=yes ;; |
1143 --disable-x264) _x264=no ;; | 1143 --disable-x264) _x264=no ;; |
1144 --enable-x264-lavc) _x264_lavc=yes ;; | 1144 --enable-x264-lavc) _x264_lavc=yes ;; |
1145 --disable-x264-lavc) _x264_lavc=no ;; | 1145 --disable-x264-lavc) _x264_lavc=no ;; |
1146 --enable-libdirac-lavc) _libdirac_lavc=yes ;; | 1146 --enable-libdirac-lavc) _libdirac_lavc=yes ;; |
1147 --disable-libdirac-lavc) _libdirac_lavc=no ;; | 1147 --disable-libdirac-lavc) _libdirac_lavc=no ;; |
1148 --enable-libschroedinger-lavc) _libschroedinger_lavc=yes ;; | 1148 --enable-libschroedinger-lavc) _libschroedinger_lavc=yes ;; |
1149 --disable-libschroedinger-lavc) _libschroedinger_lavc=no ;; | 1149 --disable-libschroedinger-lavc) _libschroedinger_lavc=no ;; |
1150 --enable-libnut) _libnut=yes ;; | 1150 --enable-libnut) _libnut=yes ;; |
1151 --disable-libnut) _libnut=no ;; | 1151 --disable-libnut) _libnut=no ;; |
1152 --enable-libavutil_a) _libavutil_a=yes ;; | 1152 --enable-libavutil_a) _libavutil_a=yes ;; |
1153 --disable-libavutil_a) _libavutil_a=no ;; | 1153 --disable-libavutil_a) _libavutil_a=no ;; |
1154 --enable-libavutil_so) _libavutil_so=yes ;; | 1154 --enable-libavutil_so) _libavutil_so=yes ;; |
1155 --disable-libavutil_so) _libavutil_so=no ;; | 1155 --disable-libavutil_so) _libavutil_so=no ;; |
1156 --enable-libavcodec_a) _libavcodec_a=yes ;; | 1156 --enable-libavcodec_a) _libavcodec_a=yes ;; |
1157 --disable-libavcodec_a) _libavcodec_a=no ;; | 1157 --disable-libavcodec_a) _libavcodec_a=no ;; |
1158 --enable-libavcodec_so) _libavcodec_so=yes ;; | 1158 --enable-libavcodec_so) _libavcodec_so=yes ;; |
1159 --disable-libavcodec_so) _libavcodec_so=no ;; | 1159 --disable-libavcodec_so) _libavcodec_so=no ;; |
1160 --enable-libopencore_amrnb) _libopencore_amrnb=yes ;; | 1160 --enable-libopencore_amrnb) _libopencore_amrnb=yes ;; |
1161 --disable-libopencore_amrnb) _libopencore_amrnb=no ;; | 1161 --disable-libopencore_amrnb) _libopencore_amrnb=no ;; |
1162 --enable-libopencore_amrwb) _libopencore_amrwb=yes ;; | 1162 --enable-libopencore_amrwb) _libopencore_amrwb=yes ;; |
1163 --disable-libopencore_amrwb) _libopencore_amrwb=no ;; | 1163 --disable-libopencore_amrwb) _libopencore_amrwb=no ;; |
1164 --enable-decoder=*) _libavdecoders="$_libavdecoders $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | 1164 --enable-decoder=*) _libavdecoders="$_libavdecoders $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; |
1165 --disable-decoder=*) _libavdecoders=$(echo $_libavdecoders | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | 1165 --disable-decoder=*) _libavdecoders=$(echo $_libavdecoders | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; |
1166 --enable-encoder=*) _libavencoders="$_libavencoders $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | 1166 --enable-encoder=*) _libavencoders="$_libavencoders $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; |
1167 --disable-encoder=*) _libavencoders=$(echo $_libavencoders | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | 1167 --disable-encoder=*) _libavencoders=$(echo $_libavencoders | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; |
1168 --enable-parser=*) _libavparsers="$_libavparsers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | 1168 --enable-parser=*) _libavparsers="$_libavparsers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; |
1170 --enable-protocol=*) _libavprotocols="$_libavprotocols $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | 1170 --enable-protocol=*) _libavprotocols="$_libavprotocols $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; |
1171 --disable-protocol=*) _libavprotocols=$(echo $_libavprotocols | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | 1171 --disable-protocol=*) _libavprotocols=$(echo $_libavprotocols | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; |
1172 --enable-demuxer=*) _libavdemuxers="$_libavdemuxers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | 1172 --enable-demuxer=*) _libavdemuxers="$_libavdemuxers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; |
1173 --disable-demuxer=*) _libavdemuxers=$(echo $_libavdemuxers | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | 1173 --disable-demuxer=*) _libavdemuxers=$(echo $_libavdemuxers | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; |
1174 --enable-muxer=*) _libavmuxers="$_libavmuxers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | 1174 --enable-muxer=*) _libavmuxers="$_libavmuxers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; |
1175 --disable-muxer=*) _libavmuxers=$(echo $_libavmuxers | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | 1175 --disable-muxer=*) _libavmuxers=$(echo $_libavmuxers | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; |
1176 --enable-libavformat_a) _libavformat_a=yes ;; | 1176 --enable-libavformat_a) _libavformat_a=yes ;; |
1177 --disable-libavformat_a) _libavformat_a=no ;; | 1177 --disable-libavformat_a) _libavformat_a=no ;; |
1178 --enable-libavformat_so) _libavformat_so=yes ;; | 1178 --enable-libavformat_so) _libavformat_so=yes ;; |
1179 --disable-libavformat_so) _libavformat_so=no ;; | 1179 --disable-libavformat_so) _libavformat_so=no ;; |
1180 --enable-libpostproc_a) _libpostproc_a=yes ;; | 1180 --enable-libpostproc_a) _libpostproc_a=yes ;; |
1181 --disable-libpostproc_a) _libpostproc_a=no ;; | 1181 --disable-libpostproc_a) _libpostproc_a=no ;; |
1182 --enable-libpostproc_so) _libpostproc_so=yes ;; | 1182 --enable-libpostproc_so) _libpostproc_so=yes ;; |
1183 --disable-libpostproc_so) _libpostproc_so=no ;; | 1183 --disable-libpostproc_so) _libpostproc_so=no ;; |
1184 --enable-libswscale_a) _libswscale_a=yes ;; | 1184 --enable-libswscale_a) _libswscale_a=yes ;; |
1185 --disable-libswscale_a) _libswscale_a=no ;; | 1185 --disable-libswscale_a) _libswscale_a=no ;; |
1186 --enable-libswscale_so) _libswscale_so=yes ;; | 1186 --enable-libswscale_so) _libswscale_so=yes ;; |
1187 --disable-libswscale_so) _libswscale_so=no ;; | 1187 --disable-libswscale_so) _libswscale_so=no ;; |
1188 --enable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=yes ;; | 1188 --enable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=yes ;; |
1189 --disable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=no ;; | 1189 --disable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=no ;; |
1190 | 1190 |
1191 --enable-lirc) _lirc=yes ;; | 1191 --enable-lirc) _lirc=yes ;; |
1192 --disable-lirc) _lirc=no ;; | 1192 --disable-lirc) _lirc=no ;; |
1193 --enable-lircc) _lircc=yes ;; | 1193 --enable-lircc) _lircc=yes ;; |
1194 --disable-lircc) _lircc=no ;; | 1194 --disable-lircc) _lircc=no ;; |
1195 --enable-apple-remote) _apple_remote=yes ;; | 1195 --enable-apple-remote) _apple_remote=yes ;; |
1196 --disable-apple-remote) _apple_remote=no ;; | 1196 --disable-apple-remote) _apple_remote=no ;; |
1197 --enable-apple-ir) _apple_ir=yes ;; | 1197 --enable-apple-ir) _apple_ir=yes ;; |
1198 --disable-apple-ir) _apple_ir=no ;; | 1198 --disable-apple-ir) _apple_ir=no ;; |
1199 --enable-gui) _gui=yes ;; | 1199 --enable-gui) _gui=yes ;; |
1200 --disable-gui) _gui=no ;; | 1200 --disable-gui) _gui=no ;; |
1201 --enable-gtk1) _gtk1=yes ;; | 1201 --enable-gtk1) _gtk1=yes ;; |
1202 --disable-gtk1) _gtk1=no ;; | 1202 --disable-gtk1) _gtk1=no ;; |
1203 --enable-termcap) _termcap=yes ;; | 1203 --enable-termcap) _termcap=yes ;; |
1204 --disable-termcap) _termcap=no ;; | 1204 --disable-termcap) _termcap=no ;; |
1205 --enable-termios) _termios=yes ;; | 1205 --enable-termios) _termios=yes ;; |
1206 --disable-termios) _termios=no ;; | 1206 --disable-termios) _termios=no ;; |
1207 --enable-3dfx) _3dfx=yes ;; | 1207 --enable-3dfx) _3dfx=yes ;; |
1208 --disable-3dfx) _3dfx=no ;; | 1208 --disable-3dfx) _3dfx=no ;; |
1209 --enable-s3fb) _s3fb=yes ;; | 1209 --enable-s3fb) _s3fb=yes ;; |
1210 --disable-s3fb) _s3fb=no ;; | 1210 --disable-s3fb) _s3fb=no ;; |
1211 --enable-wii) _wii=yes ;; | 1211 --enable-wii) _wii=yes ;; |
1212 --disable-wii) _wii=no ;; | 1212 --disable-wii) _wii=no ;; |
1213 --enable-tdfxfb) _tdfxfb=yes ;; | 1213 --enable-tdfxfb) _tdfxfb=yes ;; |
1214 --disable-tdfxfb) _tdfxfb=no ;; | 1214 --disable-tdfxfb) _tdfxfb=no ;; |
1215 --disable-tdfxvid) _tdfxvid=no ;; | 1215 --disable-tdfxvid) _tdfxvid=no ;; |
1216 --enable-tdfxvid) _tdfxvid=yes ;; | 1216 --enable-tdfxvid) _tdfxvid=yes ;; |
1217 --disable-xvr100) _xvr100=no ;; | 1217 --disable-xvr100) _xvr100=no ;; |
1218 --enable-xvr100) _xvr100=yes ;; | 1218 --enable-xvr100) _xvr100=yes ;; |
1219 --disable-tga) _tga=no ;; | 1219 --disable-tga) _tga=no ;; |
1220 --enable-tga) _tga=yes ;; | 1220 --enable-tga) _tga=yes ;; |
1221 --enable-directfb) _directfb=yes ;; | 1221 --enable-directfb) _directfb=yes ;; |
1222 --disable-directfb) _directfb=no ;; | 1222 --disable-directfb) _directfb=no ;; |
1223 --enable-zr) _zr=yes ;; | 1223 --enable-zr) _zr=yes ;; |
1224 --disable-zr) _zr=no ;; | 1224 --disable-zr) _zr=no ;; |
1225 --enable-bl) _bl=yes ;; | 1225 --enable-bl) _bl=yes ;; |
1226 --disable-bl) _bl=no ;; | 1226 --disable-bl) _bl=no ;; |
1227 --enable-mtrr) _mtrr=yes ;; | 1227 --enable-mtrr) _mtrr=yes ;; |
1228 --disable-mtrr) _mtrr=no ;; | 1228 --disable-mtrr) _mtrr=no ;; |
1229 --enable-largefiles) _largefiles=yes ;; | 1229 --enable-largefiles) _largefiles=yes ;; |
1230 --disable-largefiles) _largefiles=no ;; | 1230 --disable-largefiles) _largefiles=no ;; |
1231 --enable-shm) _shm=yes ;; | 1231 --enable-shm) _shm=yes ;; |
1232 --disable-shm) _shm=no ;; | 1232 --disable-shm) _shm=no ;; |
1233 --enable-select) _select=yes ;; | 1233 --enable-select) _select=yes ;; |
1234 --disable-select) _select=no ;; | 1234 --disable-select) _select=no ;; |
1235 --enable-linux-devfs) _linux_devfs=yes ;; | 1235 --enable-linux-devfs) _linux_devfs=yes ;; |
1236 --disable-linux-devfs) _linux_devfs=no ;; | 1236 --disable-linux-devfs) _linux_devfs=no ;; |
1237 --enable-cdparanoia) _cdparanoia=yes ;; | 1237 --enable-cdparanoia) _cdparanoia=yes ;; |
1238 --disable-cdparanoia) _cdparanoia=no ;; | 1238 --disable-cdparanoia) _cdparanoia=no ;; |
1239 --enable-cddb) _cddb=yes ;; | 1239 --enable-cddb) _cddb=yes ;; |
1240 --disable-cddb) _cddb=no ;; | 1240 --disable-cddb) _cddb=no ;; |
1241 --enable-big-endian) _big_endian=yes ;; | 1241 --enable-big-endian) _big_endian=yes ;; |
1242 --disable-big-endian) _big_endian=no ;; | 1242 --disable-big-endian) _big_endian=no ;; |
1243 --enable-bitmap-font) _bitmap_font=yes ;; | 1243 --enable-bitmap-font) _bitmap_font=yes ;; |
1244 --disable-bitmap-font) _bitmap_font=no ;; | 1244 --disable-bitmap-font) _bitmap_font=no ;; |
1245 --enable-freetype) _freetype=yes ;; | 1245 --enable-freetype) _freetype=yes ;; |
1264 --disable-rpath) _rpath=no ;; | 1264 --disable-rpath) _rpath=no ;; |
1265 | 1265 |
1266 --enable-fribidi) _fribidi=yes ;; | 1266 --enable-fribidi) _fribidi=yes ;; |
1267 --disable-fribidi) _fribidi=no ;; | 1267 --disable-fribidi) _fribidi=no ;; |
1268 | 1268 |
1269 --enable-enca) _enca=yes ;; | 1269 --enable-enca) _enca=yes ;; |
1270 --disable-enca) _enca=no ;; | 1270 --disable-enca) _enca=no ;; |
1271 | 1271 |
1272 --enable-inet6) _inet6=yes ;; | 1272 --enable-inet6) _inet6=yes ;; |
1273 --disable-inet6) _inet6=no ;; | 1273 --disable-inet6) _inet6=no ;; |
1274 | 1274 |
1275 --enable-gethostbyname2) _gethostbyname2=yes ;; | 1275 --enable-gethostbyname2) _gethostbyname2=yes ;; |
1276 --disable-gethostbyname2) _gethostbyname2=no ;; | 1276 --disable-gethostbyname2) _gethostbyname2=no ;; |
1277 | 1277 |
1278 --enable-dga1) _dga1=yes ;; | 1278 --enable-dga1) _dga1=yes ;; |
1279 --disable-dga1) _dga1=no ;; | 1279 --disable-dga1) _dga1=no ;; |
1280 --enable-dga2) _dga2=yes ;; | 1280 --enable-dga2) _dga2=yes ;; |
1281 --disable-dga2) _dga2=no ;; | 1281 --disable-dga2) _dga2=no ;; |
1292 --disable-corevideo) _corevideo=no ;; | 1292 --disable-corevideo) _corevideo=no ;; |
1293 --enable-quartz) _quartz=yes ;; | 1293 --enable-quartz) _quartz=yes ;; |
1294 --disable-quartz) _quartz=no ;; | 1294 --disable-quartz) _quartz=no ;; |
1295 --enable-macosx-finder) _macosx_finder=yes ;; | 1295 --enable-macosx-finder) _macosx_finder=yes ;; |
1296 --disable-macosx-finder) _macosx_finder=no ;; | 1296 --disable-macosx-finder) _macosx_finder=no ;; |
1297 --enable-macosx-bundle) _macosx_bundle=yes;; | 1297 --enable-macosx-bundle) _macosx_bundle=yes ;; |
1298 --disable-macosx-bundle) _macosx_bundle=no;; | 1298 --disable-macosx-bundle) _macosx_bundle=no ;; |
1299 | 1299 |
1300 --enable-maemo) _maemo=yes ;; | 1300 --enable-maemo) _maemo=yes ;; |
1301 --disable-maemo) _maemo=no ;; | 1301 --disable-maemo) _maemo=no ;; |
1302 | 1302 |
1303 --enable-sortsub) _sortsub=yes ;; | 1303 --enable-sortsub) _sortsub=yes ;; |
1304 --disable-sortsub) _sortsub=no ;; | 1304 --disable-sortsub) _sortsub=no ;; |
1305 | 1305 |
1306 --enable-crash-debug) _crash_debug=yes ;; | 1306 --enable-crash-debug) _crash_debug=yes ;; |
1307 --disable-crash-debug) _crash_debug=no ;; | 1307 --disable-crash-debug) _crash_debug=no ;; |
1308 --enable-sighandler) _sighandler=yes ;; | 1308 --enable-sighandler) _sighandler=yes ;; |
1309 --disable-sighandler) _sighandler=no ;; | 1309 --disable-sighandler) _sighandler=no ;; |
1310 --enable-win32dll) _win32dll=yes ;; | 1310 --enable-win32dll) _win32dll=yes ;; |
1311 --disable-win32dll) _win32dll=no ;; | 1311 --disable-win32dll) _win32dll=no ;; |
1312 | 1312 |
1313 --enable-sse) _sse=yes ;; | 1313 --enable-sse) _sse=yes ;; |
1314 --disable-sse) _sse=no ;; | 1314 --disable-sse) _sse=no ;; |
1315 --enable-sse2) _sse2=yes ;; | 1315 --enable-sse2) _sse2=yes ;; |
1316 --disable-sse2) _sse2=no ;; | 1316 --disable-sse2) _sse2=no ;; |
1317 --enable-ssse3) _ssse3=yes ;; | 1317 --enable-ssse3) _ssse3=yes ;; |
1318 --disable-ssse3) _ssse3=no ;; | 1318 --disable-ssse3) _ssse3=no ;; |
1338 --disable-armvfp) _armvfp=no ;; | 1338 --disable-armvfp) _armvfp=no ;; |
1339 --enable-neon) neon=yes ;; | 1339 --enable-neon) neon=yes ;; |
1340 --disable-neon) neon=no ;; | 1340 --disable-neon) neon=no ;; |
1341 --enable-iwmmxt) _iwmmxt=yes ;; | 1341 --enable-iwmmxt) _iwmmxt=yes ;; |
1342 --disable-iwmmxt) _iwmmxt=no ;; | 1342 --disable-iwmmxt) _iwmmxt=no ;; |
1343 --enable-mmx) _mmx=yes ;; | 1343 --enable-mmx) _mmx=yes ;; |
1344 --disable-mmx) # 3Dnow! and MMX2 require MMX | 1344 --disable-mmx) # 3Dnow! and MMX2 require MMX |
1345 _3dnow=no _3dnowext=no _mmx=no _mmxext=no ;; | 1345 _3dnow=no _3dnowext=no _mmx=no _mmxext=no ;; |
1346 | 1346 |
1347 *) | 1347 *) |
1348 echo "Unknown parameter: $ac_option" | 1348 echo "Unknown parameter: $ac_option" |
1351 | 1351 |
1352 esac | 1352 esac |
1353 done | 1353 done |
1354 | 1354 |
1355 # Atmos: moved this here, to be correct, if --prefix is specified | 1355 # Atmos: moved this here, to be correct, if --prefix is specified |
1356 test -z "$_bindir" && _bindir="$_prefix/bin" | 1356 test -z "$_bindir" && _bindir="$_prefix/bin" |
1357 test -z "$_datadir" && _datadir="$_prefix/share/mplayer" | 1357 test -z "$_datadir" && _datadir="$_prefix/share/mplayer" |
1358 test -z "$_mandir" && _mandir="$_prefix/share/man" | 1358 test -z "$_mandir" && _mandir="$_prefix/share/man" |
1359 test -z "$_confdir" && _confdir="$_prefix/etc/mplayer" | 1359 test -z "$_confdir" && _confdir="$_prefix/etc/mplayer" |
1360 test -z "$_libdir" && _libdir="$_prefix/lib" | 1360 test -z "$_libdir" && _libdir="$_prefix/lib" |
1361 | 1361 |
1362 # Determine our OS name and CPU architecture | 1362 # Determine our OS name and CPU architecture |
1363 if test -z "$_target" ; then | 1363 if test -z "$_target" ; then |
1364 # OS name | 1364 # OS name |
1365 system_name=$(uname -s 2>&1) | 1365 system_name=$(uname -s 2>&1) |
1705 EOF | 1705 EOF |
1706 | 1706 |
1707 if cc_check && tmp_run ; then | 1707 if cc_check && tmp_run ; then |
1708 eval _$2=yes | 1708 eval _$2=yes |
1709 echores "yes" | 1709 echores "yes" |
1710 _optimizing="$_optimizing $2" | 1710 _optimizing="$_optimizing $2" |
1711 return 0 | 1711 return 0 |
1712 else | 1712 else |
1713 eval _$2=no | 1713 eval _$2=no |
1714 echores "failed" | 1714 echores "failed" |
1715 echo "It seems that your kernel does not correctly support $2." | 1715 echo "It seems that your kernel does not correctly support $2." |
1716 echo "To use $2 extensions in MPlayer, you have to upgrade/recompile your kernel!" | 1716 echo "To use $2 extensions in MPlayer, you have to upgrade/recompile your kernel!" |
1717 return 1 | 1717 return 1 |
1718 fi | 1718 fi |
1719 fi | 1719 fi |
1720 return 0 | 1720 return 0 |
1721 } | 1721 } |
1722 | 1722 |
1767 AuthenticAMD) | 1767 AuthenticAMD) |
1768 case "$pfamily" in | 1768 case "$pfamily" in |
1769 3) proc=i386 iproc=386 ;; | 1769 3) proc=i386 iproc=386 ;; |
1770 4) proc=i486 iproc=486 ;; | 1770 4) proc=i486 iproc=486 ;; |
1771 5) iproc=586 # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3 | 1771 5) iproc=586 # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3 |
1772 # K6 model 13 are the K6-2+ and K6-III+, only differing in cache size. | 1772 # K6 model 13 are the K6-2+ and K6-III+, only differing in cache size. |
1773 if test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then | 1773 if test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then |
1774 proc=k6-3 | 1774 proc=k6-3 |
1775 elif test "$pmodel" -eq 5 -o "$pmodel" -eq 10; then | 1775 elif test "$pmodel" -eq 5 -o "$pmodel" -eq 10; then |
1776 proc=geode | 1776 proc=geode |
1777 elif test "$pmodel" -ge 8; then | 1777 elif test "$pmodel" -ge 8; then |
1778 proc=k6-2 | 1778 proc=k6-2 |
1779 elif test "$pmodel" -ge 6; then | 1779 elif test "$pmodel" -ge 6; then |
1780 proc=k6 | 1780 proc=k6 |
1781 else | 1781 else |
1782 proc=i586 | 1782 proc=i586 |
1783 fi | 1783 fi |
1784 ;; | 1784 ;; |
1785 6) iproc=686 | 1785 6) iproc=686 |
1786 # It's a bit difficult to determine the correct type of Family 6 | 1786 # It's a bit difficult to determine the correct type of Family 6 |
1787 # AMD CPUs just from their signature. Instead, we check directly | 1787 # AMD CPUs just from their signature. Instead, we check directly |
1788 # whether it supports SSE. | 1788 # whether it supports SSE. |
1789 if test "$_sse" = yes; then | 1789 if test "$_sse" = yes; then |
1790 # gcc treats athlon-xp, athlon-4 and athlon-mp similarly. | 1790 # gcc treats athlon-xp, athlon-4 and athlon-mp similarly. |
1791 proc=athlon-xp | 1791 proc=athlon-xp |
1792 else | 1792 else |
1793 # Again, gcc treats athlon and athlon-tbird similarly. | 1793 # Again, gcc treats athlon and athlon-tbird similarly. |
1794 proc=athlon | 1794 proc=athlon |
1795 fi | 1795 fi |
1796 ;; | 1796 ;; |
1797 15) iproc=686 | 1797 15) iproc=686 |
1798 # k8 cpu-type only supported in gcc >= 3.4.0, but that will be | 1798 # k8 cpu-type only supported in gcc >= 3.4.0, but that will be |
1799 # caught and remedied in the optimization tests below. | 1799 # caught and remedied in the optimization tests below. |
1800 proc=k8 | 1800 proc=k8 |
1801 ;; | 1801 ;; |
1802 | 1802 |
1803 *) proc=k8 iproc=686 ;; | 1803 *) proc=k8 iproc=686 ;; |
1804 esac | 1804 esac |
1805 ;; | 1805 ;; |
1806 GenuineIntel) | 1806 GenuineIntel) |
1807 case "$pfamily" in | 1807 case "$pfamily" in |
1808 3) proc=i386 iproc=386 ;; | 1808 3) proc=i386 iproc=386 ;; |
1809 4) proc=i486 iproc=486 ;; | 1809 4) proc=i486 iproc=486 ;; |
1810 5) iproc=586 | 1810 5) iproc=586 |
1811 if test "$pmodel" -eq 4 || test "$pmodel" -eq 8; then | 1811 if test "$pmodel" -eq 4 || test "$pmodel" -eq 8; then |
1812 proc=pentium-mmx # 4 is desktop, 8 is mobile | 1812 proc=pentium-mmx # 4 is desktop, 8 is mobile |
1813 else | 1813 else |
1814 proc=i586 | 1814 proc=i586 |
1815 fi | 1815 fi |
1816 ;; | 1816 ;; |
1817 6) iproc=686 | 1817 6) iproc=686 |
1818 if test "$pmodel" -ge 15; then | 1818 if test "$pmodel" -ge 15; then |
1819 proc=core2 | 1819 proc=core2 |
1820 elif test "$pmodel" -eq 9 -o "$pmodel" -ge 13; then | 1820 elif test "$pmodel" -eq 9 -o "$pmodel" -ge 13; then |
1821 proc=pentium-m | 1821 proc=pentium-m |
1822 elif test "$pmodel" -ge 7; then | 1822 elif test "$pmodel" -ge 7; then |
1823 proc=pentium3 | 1823 proc=pentium3 |
1824 elif test "$pmodel" -ge 3; then | 1824 elif test "$pmodel" -ge 3; then |
1825 proc=pentium2 | 1825 proc=pentium2 |
1826 else | 1826 else |
1827 proc=i686 | 1827 proc=i686 |
1828 fi | 1828 fi |
1829 ;; | 1829 ;; |
1830 15) iproc=686 | 1830 15) iproc=686 |
1831 # A nocona in 32-bit mode has no more capabilities than a prescott. | 1831 # A nocona in 32-bit mode has no more capabilities than a prescott. |
1832 if test "$pmodel" -ge 3; then | 1832 if test "$pmodel" -ge 3; then |
1833 proc=prescott | 1833 proc=prescott |
1834 else | 1834 else |
1835 proc=pentium4 | 1835 proc=pentium4 |
1836 fi | 1836 fi |
1837 test $_fast_cmov = "auto" && _fast_cmov=no | 1837 test $_fast_cmov = "auto" && _fast_cmov=no |
1838 ;; | 1838 ;; |
1839 *) proc=prescott iproc=686 ;; | 1839 *) proc=prescott iproc=686 ;; |
1840 esac | 1840 esac |
1841 ;; | 1841 ;; |
1842 CentaurHauls) | 1842 CentaurHauls) |
1843 case "$pfamily" in | 1843 case "$pfamily" in |
1844 5) iproc=586 | 1844 5) iproc=586 |
1845 if test "$pmodel" -ge 8; then | 1845 if test "$pmodel" -ge 8; then |
1846 proc=winchip2 | 1846 proc=winchip2 |
1847 elif test "$pmodel" -ge 4; then | 1847 elif test "$pmodel" -ge 4; then |
1848 proc=winchip-c6 | 1848 proc=winchip-c6 |
1849 else | 1849 else |
1850 proc=i586 | 1850 proc=i586 |
1851 fi | 1851 fi |
1852 ;; | 1852 ;; |
1853 6) iproc=686 | 1853 6) iproc=686 |
1854 if test "$pmodel" -ge 9; then | 1854 if test "$pmodel" -ge 9; then |
1855 proc=c3-2 | 1855 proc=c3-2 |
1856 else | 1856 else |
1857 proc=c3 | 1857 proc=c3 |
1858 iproc=586 | 1858 iproc=586 |
1859 fi | 1859 fi |
1860 ;; | 1860 ;; |
1861 *) proc=i686 iproc=i686 ;; | 1861 *) proc=i686 iproc=i686 ;; |
1862 esac | 1862 esac |
1863 ;; | 1863 ;; |
1864 unknown) | 1864 unknown) |
1865 case "$pfamily" in | 1865 case "$pfamily" in |
1879 # to fall back till 386. | 1879 # to fall back till 386. |
1880 | 1880 |
1881 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead | 1881 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead |
1882 | 1882 |
1883 if [ "$cc_vendor" = "gnu" ] && ([ "$_cc_major" -gt 3 ] || ( [ "$_cc_major" = 3 ] && [ "$_cc_minor" -ge 4 ])) ; then | 1883 if [ "$cc_vendor" = "gnu" ] && ([ "$_cc_major" -gt 3 ] || ( [ "$_cc_major" = 3 ] && [ "$_cc_minor" -ge 4 ])) ; then |
1884 cpuopt=-mtune | 1884 cpuopt=-mtune |
1885 else | 1885 else |
1886 cpuopt=-mcpu | 1886 cpuopt=-mcpu |
1887 fi | 1887 fi |
1888 | 1888 |
1889 echocheck "GCC & CPU optimization abilities" | 1889 echocheck "GCC & CPU optimization abilities" |
1890 cat > $TMPC << EOF | 1890 cat > $TMPC << EOF |
1891 int main(void) { return 0; } | 1891 int main(void) { return 0; } |
1905 if ! cc_check -march=$proc $cpuopt=$proc; then | 1905 if ! cc_check -march=$proc $cpuopt=$proc; then |
1906 if cc_check -march=i586 $cpuopt=i686; then | 1906 if cc_check -march=i586 $cpuopt=i686; then |
1907 proc=i586-i686 | 1907 proc=i586-i686 |
1908 else | 1908 else |
1909 proc=i586 | 1909 proc=i586 |
1910 fi | 1910 fi |
1911 fi | 1911 fi |
1912 fi | 1912 fi |
1913 if test "$proc" = "prescott" ; then | 1913 if test "$proc" = "prescott" ; then |
1914 cc_check -march=$proc $cpuopt=$proc || proc=pentium4 | 1914 cc_check -march=$proc $cpuopt=$proc || proc=pentium4 |
1915 fi | 1915 fi |
2001 def_fast_64bit='#define HAVE_FAST_64BIT 1' | 2001 def_fast_64bit='#define HAVE_FAST_64BIT 1' |
2002 iproc='x86_64' | 2002 iproc='x86_64' |
2003 | 2003 |
2004 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead | 2004 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead |
2005 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then | 2005 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then |
2006 cpuopt=-mtune | 2006 cpuopt=-mtune |
2007 else | 2007 else |
2008 cpuopt=-mcpu | 2008 cpuopt=-mcpu |
2009 fi | 2009 fi |
2010 test $_fast_cmov = "auto" && _fast_cmov=yes | 2010 test $_fast_cmov = "auto" && _fast_cmov=yes |
2011 if test "$_runtime_cpudetection" = no ; then | 2011 if test "$_runtime_cpudetection" = no ; then |
2012 case "$pvendor" in | 2012 case "$pvendor" in |
2013 AuthenticAMD) | 2013 AuthenticAMD) |
2083 if test "$host_arch" = "sparc64" ; then | 2083 if test "$host_arch" = "sparc64" ; then |
2084 _vis='yes' | 2084 _vis='yes' |
2085 proc='ultrasparc' | 2085 proc='ultrasparc' |
2086 def_fast_64bit='#define HAVE_FAST_64BIT 1' | 2086 def_fast_64bit='#define HAVE_FAST_64BIT 1' |
2087 elif sunos ; then | 2087 elif sunos ; then |
2088 echocheck "CPU type" | 2088 echocheck "CPU type" |
2089 karch=$(uname -m) | 2089 karch=$(uname -m) |
2090 case "$(echo $karch)" in | 2090 case "$(echo $karch)" in |
2091 sun4) proc=v7 ;; | 2091 sun4) proc=v7 ;; |
2092 sun4c) proc=v7 ;; | 2092 sun4c) proc=v7 ;; |
2093 sun4d) proc=v8 ;; | 2093 sun4d) proc=v8 ;; |
2094 sun4m) proc=v8 ;; | 2094 sun4m) proc=v8 ;; |
2095 sun4u) proc=ultrasparc _vis='yes' ;; | 2095 sun4u) proc=ultrasparc _vis='yes' ;; |
2096 sun4v) proc=v9 ;; | 2096 sun4v) proc=v9 ;; |
2097 *) proc=v8 ;; | 2097 *) proc=v8 ;; |
2098 esac | 2098 esac |
2099 echores "$proc" | 2099 echores "$proc" |
2100 else | 2100 else |
2101 proc=v8 | 2101 proc=v8 |
2102 fi | 2102 fi |
2103 _mcpu="-mcpu=$proc" | 2103 _mcpu="-mcpu=$proc" |
2104 _optimizing="$proc" | 2104 _optimizing="$proc" |
2105 ;; | 2105 ;; |
2106 | 2106 |
2136 def_fast_64bit='#define HAVE_FAST_64BIT 1' | 2136 def_fast_64bit='#define HAVE_FAST_64BIT 1' |
2137 fi | 2137 fi |
2138 echocheck "CPU type" | 2138 echocheck "CPU type" |
2139 case $system_name in | 2139 case $system_name in |
2140 Linux) | 2140 Linux) |
2141 proc=$($_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | head -n 1) | 2141 proc=$($_cpuinfo | grep 'cpu' | cut -d ':' -f 2 | cut -d ',' -f 1 | cut -b 2- | head -n 1) |
2142 if test -n "$($_cpuinfo | grep altivec)"; then | 2142 if test -n "$($_cpuinfo | grep altivec)"; then |
2143 test $_altivec = auto && _altivec=yes | 2143 test $_altivec = auto && _altivec=yes |
2144 fi | 2144 fi |
2145 ;; | 2145 ;; |
2146 Darwin) | 2146 Darwin) |
2147 proc=$($_cpuinfo | grep "Processor type" | cut -f 3 -d ' ' | sed 's/ppc//') | 2147 proc=$($_cpuinfo | grep "Processor type" | cut -f 3 -d ' ' | sed 's/ppc//') |
2148 if [ $(sysctl -n hw.vectorunit) -eq 1 -o \ | 2148 if [ $(sysctl -n hw.vectorunit) -eq 1 -o \ |
2149 "$(sysctl -n hw.optional.altivec 2> /dev/null)" = "1" ]; then | 2149 "$(sysctl -n hw.optional.altivec 2> /dev/null)" = "1" ]; then |
2150 test $_altivec = auto && _altivec=yes | 2150 test $_altivec = auto && _altivec=yes |
2151 fi | 2151 fi |
2152 ;; | 2152 ;; |
2153 NetBSD) | 2153 NetBSD) |
2154 # only gcc 3.4 works reliably with AltiVec code under NetBSD | 2154 # only gcc 3.4 works reliably with AltiVec code under NetBSD |
2155 case $cc_version in | 2155 case $cc_version in |
2156 2*|3.0*|3.1*|3.2*|3.3*) | 2156 2*|3.0*|3.1*|3.2*|3.3*) |
2157 ;; | 2157 ;; |
2158 *) | 2158 *) |
2159 if [ $(sysctl -n machdep.altivec) -eq 1 ]; then | 2159 if [ $(sysctl -n machdep.altivec) -eq 1 ]; then |
2160 test $_altivec = auto && _altivec=yes | 2160 test $_altivec = auto && _altivec=yes |
2161 fi | 2161 fi |
2162 ;; | 2162 ;; |
2163 esac | 2163 esac |
2164 ;; | 2164 ;; |
2165 AIX) | 2165 AIX) |
2166 proc=$($_cpuinfo | grep 'type' | cut -f 2 -d ' ' | sed 's/PowerPC_//') | 2166 proc=$($_cpuinfo | grep 'type' | cut -f 2 -d ' ' | sed 's/PowerPC_//') |
2167 ;; | 2167 ;; |
2168 esac | 2168 esac |
2169 if test "$_altivec" = yes; then | 2169 if test "$_altivec" = yes; then |
2170 echores "$proc altivec" | 2170 echores "$proc altivec" |
2171 else | 2171 else |
2172 _altivec=no | 2172 _altivec=no |
2175 | 2175 |
2176 echocheck "GCC & CPU optimization abilities" | 2176 echocheck "GCC & CPU optimization abilities" |
2177 | 2177 |
2178 if test -n "$proc"; then | 2178 if test -n "$proc"; then |
2179 case "$proc" in | 2179 case "$proc" in |
2180 601) _march='-mcpu=601' _mcpu='-mtune=601' ;; | 2180 601) _march='-mcpu=601' _mcpu='-mtune=601' ;; |
2181 603) _march='-mcpu=603' _mcpu='-mtune=603' ;; | 2181 603) _march='-mcpu=603' _mcpu='-mtune=603' ;; |
2182 603e|603ev) _march='-mcpu=603e' _mcpu='-mtune=603e' ;; | 2182 603e|603ev) _march='-mcpu=603e' _mcpu='-mtune=603e' ;; |
2183 604|604e|604r|604ev) _march='-mcpu=604' _mcpu='-mtune=604' ;; | 2183 604|604e|604r|604ev) _march='-mcpu=604' _mcpu='-mtune=604' ;; |
2184 740|740/750|745/755) _march='-mcpu=740' _mcpu='-mtune=740' ;; | 2184 740|740/750|745/755) _march='-mcpu=740' _mcpu='-mtune=740' ;; |
2185 750|750CX) _march='-mcpu=750' _mcpu='-mtune=750' ;; | 2185 750|750CX) _march='-mcpu=750' _mcpu='-mtune=750' ;; |
2186 POWER) _march='-mcpu=power' _mcpu='-mtune=power' ;; | 2186 POWER) _march='-mcpu=power' _mcpu='-mtune=power' ;; |
2187 POWER2) _march='-mcpu=power2' _mcpu='-mtune=power2' ;; | 2187 POWER2) _march='-mcpu=power2' _mcpu='-mtune=power2' ;; |
2188 POWER3) _march='-mcpu=power3' _mcpu='-mtune=power3' ;; | 2188 POWER3) _march='-mcpu=power3' _mcpu='-mtune=power3' ;; |
2189 *) ;; | 2189 *) ;; |
2190 esac | 2190 esac |
2191 # gcc 3.1(.1) and up supports 7400 and 7450 | 2191 # gcc 3.1(.1) and up supports 7400 and 7450 |
2192 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "1" || test "$_cc_major" -ge "4"; then | 2192 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "1" || test "$_cc_major" -ge "4"; then |
2193 case "$proc" in | 2193 case "$proc" in |
2194 7400*|7410*) _march='-mcpu=7400' _mcpu='-mtune=7400' ;; | 2194 7400*|7410*) _march='-mcpu=7400' _mcpu='-mtune=7400' ;; |
2195 7447*|7450*|7455*) _march='-mcpu=7450' _mcpu='-mtune=7450' ;; | 2195 7447*|7450*|7455*) _march='-mcpu=7450' _mcpu='-mtune=7450' ;; |
2196 *) ;; | 2196 *) ;; |
2197 esac | 2197 esac |
2198 fi | 2198 fi |
2199 # gcc 3.2 and up supports 970 | 2199 # gcc 3.2 and up supports 970 |
2200 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then | 2200 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then |
2201 case "$proc" in | 2201 case "$proc" in |
2202 970*|PPC970*) _march='-mcpu=970' _mcpu='-mtune=970' | 2202 970*|PPC970*) _march='-mcpu=970' _mcpu='-mtune=970' |
2203 def_dcbzl='#define HAVE_DCBZL 1' ;; | 2203 def_dcbzl='#define HAVE_DCBZL 1' ;; |
2204 *) ;; | 2204 *) ;; |
2205 esac | 2205 esac |
2206 fi | 2206 fi |
2207 # gcc 3.3 and up supports POWER4 | 2207 # gcc 3.3 and up supports POWER4 |
2208 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then | 2208 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then |
2209 case "$proc" in | 2209 case "$proc" in |
2210 POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4' ;; | 2210 POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4' ;; |
2211 *) ;; | 2211 *) ;; |
2212 esac | 2212 esac |
2213 fi | 2213 fi |
2214 # gcc 3.4 and up supports 440* | 2214 # gcc 3.4 and up supports 440* |
2215 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "4" || test "$_cc_major" -ge "4"; then | 2215 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "4" || test "$_cc_major" -ge "4"; then |
2216 case "$proc" in | 2216 case "$proc" in |
2217 440EP*) _march='-mcpu=440fp' _mcpu='-mtune=440fp' ;; | 2217 440EP*) _march='-mcpu=440fp' _mcpu='-mtune=440fp' ;; |
2218 440G* ) _march='-mcpu=440' _mcpu='-mtune=440' ;; | 2218 440G* ) _march='-mcpu=440' _mcpu='-mtune=440' ;; |
2219 *) ;; | 2219 *) ;; |
2220 esac | 2220 esac |
2221 fi | 2221 fi |
2222 # gcc 4.0 and up supports POWER5 | 2222 # gcc 4.0 and up supports POWER5 |
2223 if test "$_cc_major" -ge "4"; then | 2223 if test "$_cc_major" -ge "4"; then |
2224 case "$proc" in | 2224 case "$proc" in |
2225 POWER5*) _march='-mcpu=power5' _mcpu='-mtune=power5' ;; | 2225 POWER5*) _march='-mcpu=power5' _mcpu='-mtune=power5' ;; |
2226 *) ;; | 2226 *) ;; |
2227 esac | 2227 esac |
2228 fi | 2228 fi |
2229 fi | 2229 fi |
2230 | 2230 |
2231 if test -n "$_mcpu"; then | 2231 if test -n "$_mcpu"; then |
2232 _optimizing=$(echo $_mcpu | cut -c 8-) | 2232 _optimizing=$(echo $_mcpu | cut -c 8-) |
2233 echores "$_optimizing" | 2233 echores "$_optimizing" |
2282 _arch='SGI_MIPS' | 2282 _arch='SGI_MIPS' |
2283 _target_arch='ARCH_SGI_MIPS = yes' | 2283 _target_arch='ARCH_SGI_MIPS = yes' |
2284 iproc='sgi-mips' | 2284 iproc='sgi-mips' |
2285 | 2285 |
2286 if irix ; then | 2286 if irix ; then |
2287 echocheck "CPU type" | 2287 echocheck "CPU type" |
2288 proc=$(hinv -c processor | grep CPU | cut -d " " -f3) | 2288 proc=$(hinv -c processor | grep CPU | cut -d " " -f3) |
2289 case "$(echo $proc)" in | 2289 case "$(echo $proc)" in |
2290 R3000) _march='-mips1' _mcpu='-mtune=r2000' ;; | 2290 R3000) _march='-mips1' _mcpu='-mtune=r2000' ;; |
2291 R4000) _march='-mips3' _mcpu='-mtune=r4000' ;; | 2291 R4000) _march='-mips3' _mcpu='-mtune=r4000' ;; |
2292 R4400) _march='-mips3' _mcpu='-mtune=r4400' ;; | 2292 R4400) _march='-mips3' _mcpu='-mtune=r4400' ;; |
2293 R4600) _march='-mips3' _mcpu='-mtune=r4600' ;; | 2293 R4600) _march='-mips3' _mcpu='-mtune=r4600' ;; |
2294 R5000) _march='-mips4' _mcpu='-mtune=r5000' ;; | 2294 R5000) _march='-mips4' _mcpu='-mtune=r5000' ;; |
2295 R8000|R10000|R12000|R14000|R16000) _march='-mips4' _mcpu='-mtune=r8000' ;; | 2295 R8000|R10000|R12000|R14000|R16000) _march='-mips4' _mcpu='-mtune=r8000' ;; |
2296 esac | 2296 esac |
2297 # gcc < 3.x does not support -mtune. | 2297 # gcc < 3.x does not support -mtune. |
2298 if test "$cc_vendor" = "gnu" && test "$_cc_major" -lt 3 ; then | 2298 if test "$cc_vendor" = "gnu" && test "$_cc_major" -lt 3 ; then |
2299 _mcpu='' | 2299 _mcpu='' |
2300 fi | 2300 fi |
2301 echores "$proc" | 2301 echores "$proc" |
2302 fi | 2302 fi |
2303 | 2303 |
2304 ;; | 2304 ;; |
2305 | 2305 |
2505 _pref_as_version='2.10.1' | 2505 _pref_as_version='2.10.1' |
2506 echo 'femms' >> $TMPS | 2506 echo 'femms' >> $TMPS |
2507 fi | 2507 fi |
2508 if test "$_3dnowext" = yes ; then | 2508 if test "$_3dnowext" = yes ; then |
2509 _pref_as_version='2.10.1' | 2509 _pref_as_version='2.10.1' |
2510 echo 'pswapd %mm0, %mm0' >> $TMPS | 2510 echo 'pswapd %mm0, %mm0' >> $TMPS |
2511 fi | 2511 fi |
2512 if test "$_mmxext" = yes ; then | 2512 if test "$_mmxext" = yes ; then |
2513 _pref_as_version='2.10.1' | 2513 _pref_as_version='2.10.1' |
2514 echo 'movntq %mm0, (%eax)' >> $TMPS | 2514 echo 'movntq %mm0, (%eax)' >> $TMPS |
2515 fi | 2515 fi |
2516 if test "$_sse" = yes ; then | 2516 if test "$_sse" = yes ; then |
2517 _pref_as_version='2.10.1' | 2517 _pref_as_version='2.10.1' |
2518 echo 'xorps %xmm0, %xmm0' >> $TMPS | 2518 echo 'xorps %xmm0, %xmm0' >> $TMPS |
2519 fi | 2519 fi |
6140 _res_comment="iconv support needed" | 6140 _res_comment="iconv support needed" |
6141 fi | 6141 fi |
6142 | 6142 |
6143 if test "$_freetype" = auto ; then | 6143 if test "$_freetype" = auto ; then |
6144 if ( $_freetypeconfig --version ) >/dev/null 2>&1 ; then | 6144 if ( $_freetypeconfig --version ) >/dev/null 2>&1 ; then |
6145 cat > $TMPC << EOF | 6145 cat > $TMPC << EOF |
6146 #include <stdio.h> | 6146 #include <stdio.h> |
6147 #include <ft2build.h> | 6147 #include <ft2build.h> |
6148 #include FT_FREETYPE_H | 6148 #include FT_FREETYPE_H |
6149 #if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9))) | 6149 #if ((FREETYPE_MAJOR < 2) || ((FREETYPE_MINOR == 0) && (FREETYPE_PATCH < 9))) |
6150 #error "Need FreeType 2.0.9 or newer" | 6150 #error "Need FreeType 2.0.9 or newer" |
6154 FT_Int major=-1,minor=-1,patch=-1; | 6154 FT_Int major=-1,minor=-1,patch=-1; |
6155 int err=FT_Init_FreeType(&library); | 6155 int err=FT_Init_FreeType(&library); |
6156 return 0; | 6156 return 0; |
6157 } | 6157 } |
6158 EOF | 6158 EOF |
6159 _freetype=no | 6159 _freetype=no |
6160 cc_check $($_freetypeconfig --cflags) $($_freetypeconfig --libs) && _freetype=yes | 6160 cc_check $($_freetypeconfig --cflags) $($_freetypeconfig --libs) && _freetype=yes |
6161 else | 6161 else |
6162 _freetype=no | 6162 _freetype=no |
6163 fi | 6163 fi |
6164 fi | 6164 fi |
6165 if test "$_freetype" = yes ; then | 6165 if test "$_freetype" = yes ; then |
6166 def_freetype='#define CONFIG_FREETYPE 1' | 6166 def_freetype='#define CONFIG_FREETYPE 1' |
6167 extra_cflags="$extra_cflags $($_freetypeconfig --cflags)" | 6167 extra_cflags="$extra_cflags $($_freetypeconfig --cflags)" |
6252 | 6252 |
6253 echocheck "fribidi with charsets" | 6253 echocheck "fribidi with charsets" |
6254 _inc_tmp="" | 6254 _inc_tmp="" |
6255 _ld_tmp="" | 6255 _ld_tmp="" |
6256 if test "$_fribidi" = auto ; then | 6256 if test "$_fribidi" = auto ; then |
6257 cat > $TMPC << EOF | 6257 cat > $TMPC << EOF |
6258 #include <stdio.h> | 6258 #include <stdio.h> |
6259 /* workaround for fribidi 0.10.4 and below */ | 6259 /* workaround for fribidi 0.10.4 and below */ |
6260 #define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8 | 6260 #define FRIBIDI_CHARSET_UTF8 FRIBIDI_CHAR_SET_UTF8 |
6261 #include <fribidi/fribidi.h> | 6261 #include <fribidi/fribidi.h> |
6262 int main(void) { | 6262 int main(void) { |
6265 exit(1); | 6265 exit(1); |
6266 } | 6266 } |
6267 return 0; | 6267 return 0; |
6268 } | 6268 } |
6269 EOF | 6269 EOF |
6270 _fribidi=no | 6270 _fribidi=no |
6271 _inc_tmp="" | 6271 _inc_tmp="" |
6272 _ld_tmp="-lfribidi" | 6272 _ld_tmp="-lfribidi" |
6273 cc_check $_inc_tmp $_ld_tmp && _fribidi=yes | 6273 cc_check $_inc_tmp $_ld_tmp && _fribidi=yes |
6274 if $_fribidiconfig --version > /dev/null 2>&1 && | 6274 if $_fribidiconfig --version > /dev/null 2>&1 && |
6275 test "$_fribidi" = no ; then | 6275 test "$_fribidi" = no ; then |
6276 _inc_tmp="$($_fribidiconfig --cflags)" | 6276 _inc_tmp="$($_fribidiconfig --cflags)" |
6277 _ld_tmp="$($_fribidiconfig --libs)" | 6277 _ld_tmp="$($_fribidiconfig --libs)" |
6278 cc_check $_inc_tmp $_ld_tmp && _fribidi=yes | 6278 cc_check $_inc_tmp $_ld_tmp && _fribidi=yes |
6279 fi | 6279 fi |
6280 fi | 6280 fi |
6281 if test "$_fribidi" = yes ; then | 6281 if test "$_fribidi" = yes ; then |
6282 def_fribidi='#define CONFIG_FRIBIDI 1' | 6282 def_fribidi='#define CONFIG_FRIBIDI 1' |
6283 extra_cflags="$extra_cflags $_inc_tmp" | 6283 extra_cflags="$extra_cflags $_inc_tmp" |
6284 extra_ldflags="$extra_ldflags $_ld_tmp" | 6284 extra_ldflags="$extra_ldflags $_ld_tmp" |
6302 EOF | 6302 EOF |
6303 _enca=no | 6303 _enca=no |
6304 cc_check -lenca $_ld_lm && _enca=yes | 6304 cc_check -lenca $_ld_lm && _enca=yes |
6305 fi | 6305 fi |
6306 if test "$_enca" = yes ; then | 6306 if test "$_enca" = yes ; then |
6307 def_enca='#define CONFIG_ENCA 1' | 6307 def_enca='#define CONFIG_ENCA 1' |
6308 extra_ldflags="$extra_ldflags -lenca" | 6308 extra_ldflags="$extra_ldflags -lenca" |
6309 else | 6309 else |
6310 def_enca='#undef CONFIG_ENCA' | 6310 def_enca='#undef CONFIG_ENCA' |
6311 fi | 6311 fi |
6312 echores "$_enca" | 6312 echores "$_enca" |
6313 | 6313 |
6314 | 6314 |
6315 echocheck "zlib" | 6315 echocheck "zlib" |
6999 _live=yes && break | 6999 _live=yes && break |
7000 done | 7000 done |
7001 if test "$_live" != yes ; then | 7001 if test "$_live" != yes ; then |
7002 ld_tmp="-lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++" | 7002 ld_tmp="-lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++" |
7003 if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock $ld_tmp; then | 7003 if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock $ld_tmp; then |
7004 _live_dist=yes | 7004 _live_dist=yes |
7005 fi | 7005 fi |
7006 fi | 7006 fi |
7007 fi | 7007 fi |
7008 if test "$_live" = yes && test "$_network" = yes; then | 7008 if test "$_live" = yes && test "$_network" = yes; then |
7009 test $_livelibdir && _res_comment="using $_livelibdir" | 7009 test $_livelibdir && _res_comment="using $_livelibdir" |