comparison configure @ 15333:57fdc519972f

per (libav)codec enable/disable fix
author michael
date Tue, 03 May 2005 11:16:35 +0000
parents f06cb67b5038
children bdf8d3a18cdd
comparison
equal deleted inserted replaced
15332:a97a7ab60c38 15333:57fdc519972f
228 --enable-libdts enable libdts support [autodetect] 228 --enable-libdts enable libdts support [autodetect]
229 --disable-libmpeg2 disable builtin libmpeg2 [enabled] 229 --disable-libmpeg2 disable builtin libmpeg2 [enabled]
230 --disable-amr_nb disable amr narrowband, floating point [autodetect] 230 --disable-amr_nb disable amr narrowband, floating point [autodetect]
231 --disable-amr_nb-fixed disable amr narrowband, fixed point [autodetect] 231 --disable-amr_nb-fixed disable amr narrowband, fixed point [autodetect]
232 --disable-amr_wb disable amr wideband, floating point [autodetect] 232 --disable-amr_wb disable amr wideband, floating point [autodetect]
233 --disable-codec=CODEC disable specified codec
234 --enable-codec=CODEC dnable specified codec
233 235
234 Video output: 236 Video output:
235 --disable-vidix disable VIDIX [enable on x86 *nix] 237 --disable-vidix disable VIDIX [enable on x86 *nix]
236 --enable-gl build with OpenGL render support [autodetect] 238 --enable-gl build with OpenGL render support [autodetect]
237 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] 239 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect]
1280 # If autodetection is available then the third state is: auto 1282 # If autodetection is available then the third state is: auto
1281 _libavcodec=auto 1283 _libavcodec=auto
1282 _amr_nb=auto 1284 _amr_nb=auto
1283 _amr_nb_fixed=auto 1285 _amr_nb_fixed=auto
1284 _amr_wb=auto 1286 _amr_wb=auto
1287 _libavcodecs=`grep 'register_avcodec(&[a-z]' libavcodec/allcodecs.c | sed 's/.*&\(.*\)).*/\1/'`
1285 _libavcodecso=auto 1288 _libavcodecso=auto
1286 _libavformat=auto 1289 _libavformat=auto
1287 _fame=auto 1290 _fame=auto
1288 _mp1e=no 1291 _mp1e=no
1289 _mencoder=yes 1292 _mencoder=yes
1605 --disable-amr_nb) _amr_nb=no ;; 1608 --disable-amr_nb) _amr_nb=no ;;
1606 --enable-amr_nb-fixed) _amr_nb_fixed=yes ;; 1609 --enable-amr_nb-fixed) _amr_nb_fixed=yes ;;
1607 --disable-amr_nb-fixed) _amr_nb_fixed=no ;; 1610 --disable-amr_nb-fixed) _amr_nb_fixed=no ;;
1608 --enable-amr_wb) _amr_wb=yes ;; 1611 --enable-amr_wb) _amr_wb=yes ;;
1609 --disable-amr_wb) _amr_wb=no ;; 1612 --disable-amr_wb) _amr_wb=no ;;
1613 --enable-codec=*) _libavcodecs="$_libavcodecs `echo $ac_option | cut -d '=' -f 2`" ;;
1614 --disable-codec=*) _libavcodecs="$(echo $_libavcodecs | sed "s/$(echo $ac_option | cut -d '=' -f 2)//g")" ;;
1610 --enable-libavformat) _libavformat=yes;; 1615 --enable-libavformat) _libavformat=yes;;
1611 --disable-libavformat) _libavformat=no ;; 1616 --disable-libavformat) _libavformat=no ;;
1612 --enable-libfame) _fame=yes ;; 1617 --enable-libfame) _fame=yes ;;
1613 --disable-libfame) _fame=no ;; 1618 --disable-libfame) _fame=no ;;
1614 --enable-lirc) _lirc=yes ;; 1619 --enable-lirc) _lirc=yes ;;
6892 FAAC=$_faac 6897 FAAC=$_faac
6893 FAAC_LIB=$_ld_faac 6898 FAAC_LIB=$_ld_faac
6894 AMR_NB=$_amr_nb 6899 AMR_NB=$_amr_nb
6895 AMR_NB_FIXED=$_amr_nb_fixed 6900 AMR_NB_FIXED=$_amr_nb_fixed
6896 AMR_WB=$_amr_wb 6901 AMR_WB=$_amr_wb
6902 `echo $_libavcodecs | awk '{$0=toupper($0)}1' | sed 's/ \?\([-_a-zA-Z0-9]*\)/CONFIG_\1=yes\n/g'`
6897 6903
6898 # --- Some stuff for autoconfigure ---- 6904 # --- Some stuff for autoconfigure ----
6899 $_target_arch 6905 $_target_arch
6900 $_confwin32 6906 $_confwin32
6901 TARGET_CPU=$iproc 6907 TARGET_CPU=$iproc
7219 7225
7220 /* Use amr codecs from libavcodec (requires amr sources) */ 7226 /* Use amr codecs from libavcodec (requires amr sources) */
7221 $_def_amr_nb 7227 $_def_amr_nb
7222 $_def_amr_nb_fixed 7228 $_def_amr_nb_fixed
7223 $_def_amr_wb 7229 $_def_amr_wb
7230
7231 /* Use specific codecs from libavcodec */
7232 `echo $_libavcodecs | awk '{$0=toupper($0)}1' | sed 's/ \?\([-_a-zA-Z0-9]*\)/#define CONFIG_\1 1\n/g'`
7224 7233
7225 /* Use codec libs included in mplayer CVS / source dist: */ 7234 /* Use codec libs included in mplayer CVS / source dist: */
7226 $_def_mp3lib 7235 $_def_mp3lib
7227 $_def_liba52 7236 $_def_liba52
7228 $_def_libdts 7237 $_def_libdts