comparison configure @ 23100:23fb118dc55a

Give variable names for static FFmpeg libraries a '_a' suffix.
author diego
date Thu, 26 Apr 2007 11:19:29 +0000
parents e22b666f1ede
children 253a6da2be20
comparison
equal deleted inserted replaced
23099:368a15ab768d 23100:23fb118dc55a
284 --disable-xanim disable XAnim codecs support [enabled] 284 --disable-xanim disable XAnim codecs support [enabled]
285 --disable-real disable RealPlayer codecs support [enabled] 285 --disable-real disable RealPlayer codecs support [enabled]
286 --disable-xvid disable XviD [autodetect] 286 --disable-xvid disable XviD [autodetect]
287 --disable-x264 disable x264 [autodetect] 287 --disable-x264 disable x264 [autodetect]
288 --disable-nut disable libnut [autodetect] 288 --disable-nut disable libnut [autodetect]
289 --disable-libavutil disable libavutil [autodetect] 289 --disable-libavutil disable static libavutil [autodetect]
290 --disable-libavcodec disable libavcodec [autodetect] 290 --disable-libavcodec_a disable static libavcodec [autodetect]
291 --disable-libavformat disable libavformat [autodetect] 291 --disable-libavformat_a disable static libavformat [autodetect]
292 --disable-libpostproc disable libpostproc [autodetect] 292 --disable-libpostproc_a disable static libpostproc [autodetect]
293 --disable-libavutil_so disable shared libavutil [autodetect] 293 --disable-libavutil_so disable shared libavutil [autodetect]
294 --disable-libavcodec_so disable shared libavcodec [autodetect] 294 --disable-libavcodec_so disable shared libavcodec [autodetect]
295 --disable-libavformat_so disable shared libavformat [autodetect] 295 --disable-libavformat_so disable shared libavformat [autodetect]
296 --disable-libpostproc_so disable shared libpostproc [autodetect] 296 --disable-libpostproc_so disable shared libpostproc [autodetect]
297 --disable-libavcodec_mpegaudio_hp disable high precision audio decoding 297 --disable-libavcodec_mpegaudio_hp disable high precision audio decoding
471 _gcc_check=yes 471 _gcc_check=yes
472 _as=auto 472 _as=auto
473 _runtime_cpudetection=no 473 _runtime_cpudetection=no
474 _cross_compile=auto 474 _cross_compile=auto
475 _prefix="/usr/local" 475 _prefix="/usr/local"
476 _libavutil=auto 476 _libavutil_a=auto
477 _libavutil_so=auto 477 _libavutil_so=auto
478 _libavcodec=auto 478 _libavcodec_a=auto
479 _amr_nb=auto 479 _amr_nb=auto
480 _amr_wb=auto 480 _amr_wb=auto
481 _libavdecoders_all=`sed -n 's/^[^#]*DEC.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` 481 _libavdecoders_all=`sed -n 's/^[^#]*DEC.*, *\(.*\)).*/\1_decoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`
482 _libavdecoders=` echo $_libavdecoders_all | sed -e s/AAC_DECODER// -e s/MPEG4AAC_DECODER// -e s/LIBA52_DECODER// -e s/LIBGSM_DECODER// -e s/LIBGSM_MS_DECODER// -e s/LIBVORBIS_DECODER// ` 482 _libavdecoders=` echo $_libavdecoders_all | sed -e s/AAC_DECODER// -e s/MPEG4AAC_DECODER// -e s/LIBA52_DECODER// -e s/LIBGSM_DECODER// -e s/LIBGSM_MS_DECODER// -e s/LIBVORBIS_DECODER// `
483 _libavencoders_all=`sed -n 's/^[^#]*ENC.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'` 483 _libavencoders_all=`sed -n 's/^[^#]*ENC.*, *\(.*\)).*/\1_encoder/p' libavcodec/allcodecs.c | tr '[a-z]' '[A-Z]'`
487 _libavdemuxers_all=`sed -n 's/^[^#]*DEMUX.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'` 487 _libavdemuxers_all=`sed -n 's/^[^#]*DEMUX.*, *\(.*\)).*/\1_demuxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`
488 _libavdemuxers=`echo $_libavdemuxers_all | sed -e s/AUDIO_DEMUXER// -e s/DC1394_DEMUXER// -e s/DV1394_DEMUXER// -e s/REDIR_DEMUXER// -e s/RTSP_DEMUXER// -e s/SDP_DEMUXER// -e s/VIDEO_GRAB_V4L_DEMUXER// -e s/VIDEO_GRAB_BKTR_DEMUXER// -e s/X11_GRAB_DEVICE_DEMUXER// -e s/V4L2_DEMUXER// -e s/LIBNUT_DEMUXER// ` 488 _libavdemuxers=`echo $_libavdemuxers_all | sed -e s/AUDIO_DEMUXER// -e s/DC1394_DEMUXER// -e s/DV1394_DEMUXER// -e s/REDIR_DEMUXER// -e s/RTSP_DEMUXER// -e s/SDP_DEMUXER// -e s/VIDEO_GRAB_V4L_DEMUXER// -e s/VIDEO_GRAB_BKTR_DEMUXER// -e s/X11_GRAB_DEVICE_DEMUXER// -e s/V4L2_DEMUXER// -e s/LIBNUT_DEMUXER// `
489 _libavmuxers_all=`sed -n 's/^[^#]*_MUX.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'` 489 _libavmuxers_all=`sed -n 's/^[^#]*_MUX.*, *\(.*\)).*/\1_muxer/p' libavformat/allformats.c | tr '[a-z]' '[A-Z]'`
490 _libavmuxers=`echo $_libavmuxers_all | sed -e s/AUDIO_MUXER// -e s/RTP_MUXER// ` 490 _libavmuxers=`echo $_libavmuxers_all | sed -e s/AUDIO_MUXER// -e s/RTP_MUXER// `
491 _libavcodec_so=auto 491 _libavcodec_so=auto
492 _libavformat=auto 492 _libavformat_a=auto
493 _libavformat_so=auto 493 _libavformat_so=auto
494 _libpostproc=auto 494 _libpostproc_a=auto
495 _libpostproc_so=auto 495 _libpostproc_so=auto
496 _libavcodec_mpegaudio_hp=yes 496 _libavcodec_mpegaudio_hp=yes
497 _mencoder=yes 497 _mencoder=yes
498 _mplayer=yes 498 _mplayer=yes
499 _x11=auto 499 _x11=auto
966 --disable-xvid) _xvid=no ;; 966 --disable-xvid) _xvid=no ;;
967 --enable-x264) _x264=yes ;; 967 --enable-x264) _x264=yes ;;
968 --disable-x264) _x264=no ;; 968 --disable-x264) _x264=no ;;
969 --enable-nut) _nut=yes ;; 969 --enable-nut) _nut=yes ;;
970 --disable-nut) _nut=no ;; 970 --disable-nut) _nut=no ;;
971 --enable-libavutil) _libavutil=yes ;; 971 --enable-libavutil_a) _libavutil_a=yes ;;
972 --disable-libavutil) _libavutil=no ;; 972 --disable-libavutil_a) _libavutil_a=no ;;
973 --enable-libavutil_so) _libavutil_so=yes ;; 973 --enable-libavutil_so) _libavutil_so=yes ;;
974 --disable-libavutil_so) _libavutil_so=no ;; 974 --disable-libavutil_so) _libavutil_so=no ;;
975 --enable-libavcodec) _libavcodec=yes ;; 975 --enable-libavcodec_a) _libavcodec_a=yes ;;
976 --disable-libavcodec) _libavcodec=no ;; 976 --disable-libavcodec_a) _libavcodec_a=no ;;
977 --enable-libavcodec_so) _libavcodec_so=yes ;; 977 --enable-libavcodec_so) _libavcodec_so=yes ;;
978 --disable-libavcodec_so) _libavcodec_so=no ;; 978 --disable-libavcodec_so) _libavcodec_so=no ;;
979 --enable-amr_nb) _amr_nb=yes ;; 979 --enable-amr_nb) _amr_nb=yes ;;
980 --disable-amr_nb) _amr_nb=no ;; 980 --disable-amr_nb) _amr_nb=no ;;
981 --enable-amr_wb) _amr_wb=yes ;; 981 --enable-amr_wb) _amr_wb=yes ;;
988 --disable-parser=*) _libavparsers=`echo $_libavparsers | sed "s/\`echo $ac_option | cut -d '=' -f 2\`//g"` ;; 988 --disable-parser=*) _libavparsers=`echo $_libavparsers | sed "s/\`echo $ac_option | cut -d '=' -f 2\`//g"` ;;
989 --enable-demuxer=*) _libavdemuxers="$_libavdemuxers `echo $ac_option | cut -d '=' -f 2`" ;; 989 --enable-demuxer=*) _libavdemuxers="$_libavdemuxers `echo $ac_option | cut -d '=' -f 2`" ;;
990 --disable-demuxer=*) _libavdemuxers=`echo $_libavdemuxers | sed "s/\`echo $ac_option | cut -d '=' -f 2\`//g"` ;; 990 --disable-demuxer=*) _libavdemuxers=`echo $_libavdemuxers | sed "s/\`echo $ac_option | cut -d '=' -f 2\`//g"` ;;
991 --enable-muxer=*) _libavmuxers="$_libavmuxers `echo $ac_option | cut -d '=' -f 2`" ;; 991 --enable-muxer=*) _libavmuxers="$_libavmuxers `echo $ac_option | cut -d '=' -f 2`" ;;
992 --disable-muxer=*) _libavmuxers=`echo $_libavmuxers | sed "s/\`echo $ac_option | cut -d '=' -f 2\`//g"` ;; 992 --disable-muxer=*) _libavmuxers=`echo $_libavmuxers | sed "s/\`echo $ac_option | cut -d '=' -f 2\`//g"` ;;
993 --enable-libavformat) _libavformat=yes;; 993 --enable-libavformat_a) _libavformat_a=yes ;;
994 --disable-libavformat) _libavformat=no ;; 994 --disable-libavformat_a) _libavformat_a=no ;;
995 --enable-libavformat_so) _libavformat_so=yes ;; 995 --enable-libavformat_so) _libavformat_so=yes ;;
996 --disable-libavformat_so) _libavformat_so=no ;; 996 --disable-libavformat_so) _libavformat_so=no ;;
997 --enable-libpostproc) _libpostproc=yes ;; 997 --enable-libpostproc_a) _libpostproc_a=yes ;;
998 --disable-libpostproc) _libpostproc=no ;; 998 --disable-libpostproc_a) _libpostproc_a=no ;;
999 --enable-libpostproc_so) _libpostproc_so=yes ;; 999 --enable-libpostproc_so) _libpostproc_so=yes ;;
1000 --disable-libpostproc_so) _libpostproc_so=no ;; 1000 --disable-libpostproc_so) _libpostproc_so=no ;;
1001 --enable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=yes ;; 1001 --enable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=yes ;;
1002 --disable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=no ;; 1002 --disable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=no ;;
1003 1003
6148 fi 6148 fi
6149 echores "$_live" 6149 echores "$_live"
6150 6150
6151 6151
6152 echocheck "FFmpeg libavutil (static)" 6152 echocheck "FFmpeg libavutil (static)"
6153 if test "$_libavutil" = auto ; then 6153 if test "$_libavutil_a" = auto ; then
6154 if test -d libavutil ; then 6154 if test -d libavutil ; then
6155 _libavutil=yes 6155 _libavutil_a=yes
6156 else 6156 else
6157 die "MPlayer will not compile without libavutil in the source tree." 6157 die "MPlayer will not compile without libavutil in the source tree."
6158 fi 6158 fi
6159 fi 6159 fi
6160 echores "$_libavutil" 6160 echores "$_libavutil_a"
6161 6161
6162 echocheck "FFmpeg libavcodec (static)" 6162 echocheck "FFmpeg libavcodec (static)"
6163 if test "$_libavcodec" = auto ; then 6163 if test "$_libavcodec_a" = auto ; then
6164 # Note: static linking is preferred to dynamic linking 6164 # Note: static linking is preferred to dynamic linking
6165 _libavcodec=no 6165 _libavcodec=no
6166 _res_comment="see DOCS/HTML/$_doc_lang/codecs.html" 6166 _res_comment="see DOCS/HTML/$_doc_lang/codecs.html"
6167 if test -d libavcodec && test -f libavcodec/utils.c ; then 6167 if test -d libavcodec && test -f libavcodec/utils.c ; then
6168 _res_comment="old ffmpeg version, use CVS !" 6168 _res_comment="old ffmpeg version, use CVS !"
6180 _libavutil_required="no" 6180 _libavutil_required="no"
6181 else 6181 else
6182 _libavutil_required="yes" 6182 _libavutil_required="yes"
6183 fi 6183 fi
6184 _res_comment="libavutil availability does not fit libavcodec version" 6184 _res_comment="libavutil availability does not fit libavcodec version"
6185 if test "$_libavutil_required" = "$_libavutil"; then 6185 if test "$_libavutil_required" = "$_libavutil_a"; then
6186 _libavcodec="yes" 6186 _libavcodec_a="yes"
6187 _res_comment="" 6187 _res_comment=""
6188 fi 6188 fi
6189 fi 6189 fi
6190 fi 6190 fi
6191 fi 6191 fi
6192 echores "$_libavcodec" 6192 echores "$_libavcodec_a"
6193 6193
6194 echocheck "FFmpeg libavformat (static)" 6194 echocheck "FFmpeg libavformat (static)"
6195 if test "$_libavformat" = auto ; then 6195 if test "$_libavformat_a" = auto ; then
6196 # Note: static linking is preferred to dynamic linking 6196 # Note: static linking is preferred to dynamic linking
6197 _libavformat=no 6197 _libavformat_a=no
6198 if test -d libavformat && test -f libavformat/utils.c ; then 6198 if test -d libavformat && test -f libavformat/utils.c ; then
6199 _libavformat=yes 6199 _libavformat_a=yes
6200 fi 6200 fi
6201 fi 6201 fi
6202 echores "$_libavformat" 6202 echores "$_libavformat_a"
6203 6203
6204 echocheck "FFmpeg libpostproc (static)" 6204 echocheck "FFmpeg libpostproc (static)"
6205 if test "$_libpostproc" = auto ; then 6205 if test "$_libpostproc_a" = auto ; then
6206 _libpostproc=no 6206 _libpostproc_a=no
6207 if test -d libpostproc && test -f libpostproc/postprocess.h ; then 6207 if test -d libpostproc && test -f libpostproc/postprocess.h ; then
6208 _libpostproc='yes' 6208 _libpostproc_a='yes'
6209 fi 6209 fi
6210 fi 6210 fi
6211 echores "$_libpostproc" 6211 echores "$_libpostproc_a"
6212 6212
6213 6213
6214 if test "$_libavutil" != yes ; then 6214 if test "$_libavutil_a" != yes ; then
6215 echocheck "FFmpeg libavutil (dynamic)" 6215 echocheck "FFmpeg libavutil (dynamic)"
6216 if test "$_libavutil_so" = auto ; then 6216 if test "$_libavutil_so" = auto ; then
6217 _libavutil_so=no 6217 _libavutil_so=no
6218 cat > $TMPC << EOF 6218 cat > $TMPC << EOF
6219 #include <ffmpeg/common.h> 6219 #include <ffmpeg/common.h>
6235 die "You need static or shared libavutil, MPlayer will not compile without!" 6235 die "You need static or shared libavutil, MPlayer will not compile without!"
6236 fi 6236 fi
6237 echores "$_libavutil_so" 6237 echores "$_libavutil_so"
6238 fi #if test "$_libavutil" != yes ; then 6238 fi #if test "$_libavutil" != yes ; then
6239 6239
6240 if test "$_libavcodec" != yes ; then 6240 if test "$_libavcodec_a" != yes ; then
6241 echocheck "FFmpeg libavcodec (dynamic)" 6241 echocheck "FFmpeg libavcodec (dynamic)"
6242 if test "$_libavcodec_so" = auto ; then 6242 if test "$_libavcodec_so" = auto ; then
6243 _libavcodec_so=no 6243 _libavcodec_so=no
6244 _res_comment="libavcodec.so is discouraged over static libavcodec" 6244 _res_comment="libavcodec.so is discouraged over static libavcodec"
6245 # FIXME : check for avcodec_find_encoder_by_name() for mencoder 6245 # FIXME : check for avcodec_find_encoder_by_name() for mencoder
6262 fi 6262 fi
6263 fi 6263 fi
6264 echores "$_libavcodec_so" 6264 echores "$_libavcodec_so"
6265 fi #if test "$_libavcodec" != yes ; then 6265 fi #if test "$_libavcodec" != yes ; then
6266 6266
6267 if test "$_libavformat" != yes ; then 6267 if test "$_libavformat_a" != yes ; then
6268 echocheck "FFmpeg libavformat (dynamic)" 6268 echocheck "FFmpeg libavformat (dynamic)"
6269 if test "$_libavformat_so" = auto ; then 6269 if test "$_libavformat_so" = auto ; then
6270 _libavformat_so=no 6270 _libavformat_so=no
6271 cat > $TMPC <<EOF 6271 cat > $TMPC <<EOF
6272 #include <ffmpeg/avformat.h> 6272 #include <ffmpeg/avformat.h>
6285 fi 6285 fi
6286 fi 6286 fi
6287 echores "$_libavformat_so" 6287 echores "$_libavformat_so"
6288 fi #if test "$_libavformat" != yes ; then 6288 fi #if test "$_libavformat" != yes ; then
6289 6289
6290 if test "$_libpostproc" != yes ; then 6290 if test "$_libpostproc_a" != yes ; then
6291 echocheck "FFmpeg libpostproc (dynamic)" 6291 echocheck "FFmpeg libpostproc (dynamic)"
6292 if test "$_libpostproc_so" = auto ; then 6292 if test "$_libpostproc_so" = auto ; then
6293 _libpostproc_so=no 6293 _libpostproc_so=no
6294 cat > $TMPC << EOF 6294 cat > $TMPC << EOF
6295 #define USE_LIBPOSTPROC 1 6295 #define USE_LIBPOSTPROC 1
6308 echores "$_libpostproc_so" 6308 echores "$_libpostproc_so"
6309 fi #if test "$_libpostproc" != yes ; then 6309 fi #if test "$_libpostproc" != yes ; then
6310 6310
6311 _def_libavutil='#undef USE_LIBAVUTIL' 6311 _def_libavutil='#undef USE_LIBAVUTIL'
6312 _def_libavutil_so='#undef USE_LIBAVUTIL_SO' 6312 _def_libavutil_so='#undef USE_LIBAVUTIL_SO'
6313 if test "$_libavutil" = yes ; then 6313 if test "$_libavutil_a" = yes ; then
6314 _def_libavutil='#define USE_LIBAVUTIL 1' 6314 _def_libavutil='#define USE_LIBAVUTIL 1'
6315 elif test "$_libavutil_so" = yes ; then 6315 elif test "$_libavutil_so" = yes ; then
6316 _def_libavutil_so='#define USE_LIBAVUTIL_SO 1' 6316 _def_libavutil_so='#define USE_LIBAVUTIL_SO 1'
6317 fi 6317 fi
6318 6318
6320 _def_libavcodec_so='#undef USE_LIBAVCODEC_SO' 6320 _def_libavcodec_so='#undef USE_LIBAVCODEC_SO'
6321 _def_lavc_dsputil='#undef USE_LIBAVCODEC_DSPUTIL' 6321 _def_lavc_dsputil='#undef USE_LIBAVCODEC_DSPUTIL'
6322 if test "$_libavcodec_mpegaudio_hp" = yes ; then 6322 if test "$_libavcodec_mpegaudio_hp" = yes ; then
6323 _def_libavcodec_mpegaudio_hp='#define CONFIG_MPEGAUDIO_HP 1' 6323 _def_libavcodec_mpegaudio_hp='#define CONFIG_MPEGAUDIO_HP 1'
6324 fi 6324 fi
6325 if test "$_libavcodec" = yes ; then 6325 if test "$_libavcodec_a" = yes ; then
6326 _def_libavcodec='#define USE_LIBAVCODEC 1' 6326 _def_libavcodec='#define USE_LIBAVCODEC 1'
6327 _def_lavc_dsputil='#define USE_LIBAVCODEC_DSPUTIL' 6327 _def_lavc_dsputil='#define USE_LIBAVCODEC_DSPUTIL'
6328 _codecmodules="libavcodec $_codecmodules" 6328 _codecmodules="libavcodec $_codecmodules"
6329 elif test "$_libavcodec_so" = yes ; then 6329 elif test "$_libavcodec_so" = yes ; then
6330 _def_libavcodec='#define USE_LIBAVCODEC 1' 6330 _def_libavcodec='#define USE_LIBAVCODEC 1'
6335 fi 6335 fi
6336 6336
6337 _def_libavformat='#undef USE_LIBAVFORMAT' 6337 _def_libavformat='#undef USE_LIBAVFORMAT'
6338 _def_libavformat_so='#undef USE_LIBAVFORMAT_SO' 6338 _def_libavformat_so='#undef USE_LIBAVFORMAT_SO'
6339 _def_libavformat_win32='#undef CONFIG_WIN32' 6339 _def_libavformat_win32='#undef CONFIG_WIN32'
6340 if test "$_libavformat" = yes ; then 6340 if test "$_libavformat_a" = yes ; then
6341 _def_libavformat='#define USE_LIBAVFORMAT 1' 6341 _def_libavformat='#define USE_LIBAVFORMAT 1'
6342 if win32 ; then 6342 if win32 ; then
6343 _def_libavformat_win32='#define CONFIG_WIN32 1' 6343 _def_libavformat_win32='#define CONFIG_WIN32 1'
6344 fi 6344 fi
6345 else 6345 else
6351 fi 6351 fi
6352 fi 6352 fi
6353 6353
6354 _def_libpostproc='#undef USE_LIBPOSTPROC' 6354 _def_libpostproc='#undef USE_LIBPOSTPROC'
6355 _def_libpostproc_so='#undef USE_LIBPOSTPROC_SO' 6355 _def_libpostproc_so='#undef USE_LIBPOSTPROC_SO'
6356 if test "$_libpostproc" = yes ; then 6356 if test "$_libpostproc_a" = yes ; then
6357 _def_libpostproc='#define USE_LIBPOSTPROC 1' 6357 _def_libpostproc='#define USE_LIBPOSTPROC 1'
6358 else 6358 else
6359 if test "$_libpostproc_so" = yes ; then 6359 if test "$_libpostproc_so" = yes ; then
6360 _def_libpostproc_so='#define USE_LIBPOSTPROC_SO 1' 6360 _def_libpostproc_so='#define USE_LIBPOSTPROC_SO 1'
6361 fi 6361 fi
6378 cat > $TMPC << EOF 6378 cat > $TMPC << EOF
6379 #include <amrnb/interf_dec.h> 6379 #include <amrnb/interf_dec.h>
6380 int main(void) { Speech_Decode_Frame_init(); return 0; } 6380 int main(void) { Speech_Decode_Frame_init(); return 0; }
6381 EOF 6381 EOF
6382 cc_check -lamrnb && _amr_nb=yes 6382 cc_check -lamrnb && _amr_nb=yes
6383 if test "$_libavcodec" != yes ; then 6383 if test "$_libavcodec_a" != yes ; then
6384 _amr_nb=no 6384 _amr_nb=no
6385 _res_comment="libavcodec (static) is required by amr_nb, sorry" 6385 _res_comment="libavcodec (static) is required by amr_nb, sorry"
6386 fi 6386 fi
6387 fi 6387 fi
6388 if test "$_amr_nb" = yes ; then 6388 if test "$_amr_nb" = yes ; then
6407 cat > $TMPC << EOF 6407 cat > $TMPC << EOF
6408 #include <amrwb/dec_if.h> 6408 #include <amrwb/dec_if.h>
6409 int main(void) { D_IF_init(); return 0; } 6409 int main(void) { D_IF_init(); return 0; }
6410 EOF 6410 EOF
6411 cc_check -lamrwb && _amr_wb=yes 6411 cc_check -lamrwb && _amr_wb=yes
6412 if test "$_libavcodec" != yes ; then 6412 if test "$_libavcodec_a" != yes ; then
6413 _amr_wb=no 6413 _amr_wb=no
6414 _res_comment="libavcodec (static) is required by amr_wb, sorry" 6414 _res_comment="libavcodec (static) is required by amr_wb, sorry"
6415 fi 6415 fi
6416 fi 6416 fi
6417 if test "$_amr_wb" = yes ; then 6417 if test "$_amr_wb" = yes ; then
6454 else 6454 else
6455 _zr=no 6455 _zr=no
6456 fi 6456 fi
6457 fi 6457 fi
6458 if test "$_zr" = yes ; then 6458 if test "$_zr" = yes ; then
6459 if test "$_libavcodec" = yes ; then 6459 if test "$_libavcodec_a" = yes ; then
6460 _def_zr='#define HAVE_ZR 1' 6460 _def_zr='#define HAVE_ZR 1'
6461 _vosrc="$_vosrc vo_zr2.c vo_zr.c jpeg_enc.c" 6461 _vosrc="$_vosrc vo_zr2.c vo_zr.c jpeg_enc.c"
6462 _vomodules="zr zr2 $_vomodules" 6462 _vomodules="zr zr2 $_vomodules"
6463 else 6463 else
6464 _res_comment="libavcodec (static) is required by zr, sorry" 6464 _res_comment="libavcodec (static) is required by zr, sorry"
7720 DVDNAV = $_dvdnav 7720 DVDNAV = $_dvdnav
7721 WIN32DLL = $_win32dll 7721 WIN32DLL = $_win32dll
7722 QTX_CODECS = $_qtx 7722 QTX_CODECS = $_qtx
7723 REAL_CODECS = $_real 7723 REAL_CODECS = $_real
7724 XANIM_CODECS = $_xanim 7724 XANIM_CODECS = $_xanim
7725 LIBAVUTIL = $_libavutil 7725 LIBAVUTIL = $_libavutil_a
7726 LIBAVUTIL_SO = $_libavutil_so 7726 LIBAVUTIL_SO = $_libavutil_so
7727 LIBAVCODEC = $_libavcodec 7727 LIBAVCODEC = $_libavcodec_a
7728 LIBAVCODEC_SO = $_libavcodec_so 7728 LIBAVCODEC_SO = $_libavcodec_so
7729 LIBAVFORMAT = $_libavformat 7729 LIBAVFORMAT = $_libavformat_a
7730 LIBAVFORMAT_SO = $_libavformat_so 7730 LIBAVFORMAT_SO = $_libavformat_so
7731 LIBPOSTPROC = $_libpostproc 7731 LIBPOSTPROC = $_libpostproc_a
7732 LIBPOSTPROC_SO = $_libpostproc_so 7732 LIBPOSTPROC_SO = $_libpostproc_so
7733 ZORAN = $_zr 7733 ZORAN = $_zr
7734 LIBLZO = $_liblzo 7734 LIBLZO = $_liblzo
7735 LIBDV = $_libdv 7735 LIBDV = $_libdv
7736 XVID4 = $_xvid 7736 XVID4 = $_xvid