| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 # | 2 # |
| 3 # FFmpeg configure script | 3 # FFmpeg configure script |
| 4 # | 4 # |
| 5 # Copyright (c) 2000-2002 Fabrice Bellard | 5 # Copyright (c) 2000-2002 Fabrice Bellard |
| 6 # Copyright (c) 2005-2008 Diego Biurrun | 6 # Copyright (c) 2005-2008 Diego Biurrun |
| 7 # Copyright (c) 2005-2008 Mans Rullgard | 7 # Copyright (c) 2005-2008 Mans Rullgard |
| 8 # | 8 # |
| 9 | 9 |
| 10 # Prevent locale nonsense from breaking basic text processing. | 10 # Prevent locale nonsense from breaking basic text processing. |
| (...skipping 2639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2650 enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_de
c.h Decoder_Interface_init -lopencore-amrnb | 2650 enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_de
c.h Decoder_Interface_init -lopencore-amrnb |
| 2651 enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h
D_IF_init -lopencore-amrwb | 2651 enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h
D_IF_init -lopencore-amrwb |
| 2652 enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg | 2652 enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg |
| 2653 enabled librtmp && { check_lib librtmp/rtmp.h RTMP_Socket $(pkg-config --libs
librtmp) || | 2653 enabled librtmp && { check_lib librtmp/rtmp.h RTMP_Socket $(pkg-config --libs
librtmp) || |
| 2654 die "ERROR: librtmp not found or RTMP_Socket() missing,
librtmp version must be >= 2.2.f"; } | 2654 die "ERROR: librtmp not found or RTMP_Socket() missing,
librtmp version must be >= 2.2.f"; } |
| 2655 enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) && | 2655 enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) && |
| 2656 require libschroedinger schroedinger/schro.h schro_in
it $(pkg-config --libs schroedinger-1.0) | 2656 require libschroedinger schroedinger/schro.h schro_in
it $(pkg-config --libs schroedinger-1.0) |
| 2657 enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex | 2657 enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex |
| 2658 enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheor
aenc -ltheoradec -logg | 2658 enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheor
aenc -ltheoradec -logg |
| 2659 enabled libvorbis && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lv
orbisenc -lvorbis -logg | 2659 enabled libvorbis && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lv
orbisenc -lvorbis -logg |
| 2660 enabled libvpx && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec
_init_ver -lvpx && | 2660 # only check decoder version to allow linking with libvpx built with --enable-vp
8-decoder |
| 2661 check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_enc
_init_ver -lvpx || | 2661 enabled libvpx && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec
_init_ver -lvpx || |
| 2662 die "ERROR: libvpx version must be >=0.9.1"; } | 2662 die "ERROR: libvpx version must be >=0.9.1"; } |
| 2663 enabled libx264 && require libx264 x264.h x264_encoder_encode -lx264 && | 2663 enabled libx264 && require libx264 x264.h x264_encoder_encode -lx264 && |
| 2664 { check_cpp_condition x264.h "X264_BUILD >= 98" || | 2664 { check_cpp_condition x264.h "X264_BUILD >= 98" || |
| 2665 die "ERROR: libx264 version must be >= 0.98."; } | 2665 die "ERROR: libx264 version must be >= 0.98."; } |
| 2666 enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore | 2666 enabled libxvid && require libxvid xvid.h xvid_global -lxvidcore |
| 2667 enabled mlib && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -
lmlib | 2667 enabled mlib && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -
lmlib |
| 2668 | 2668 |
| 2669 # libdc1394 check | 2669 # libdc1394 check |
| 2670 if enabled libdc1394; then | 2670 if enabled libdc1394; then |
| 2671 { check_lib dc1394/dc1394.h dc1394_new -ldc1394 -lraw1394 && | 2671 { check_lib dc1394/dc1394.h dc1394_new -ldc1394 -lraw1394 && |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3194 | 3194 |
| 3195 pkgconfig_generate libavutil "FFmpeg utility library" "$LIBAVUTIL_VERSION" | 3195 pkgconfig_generate libavutil "FFmpeg utility library" "$LIBAVUTIL_VERSION" |
| 3196 pkgconfig_generate libavcodec "FFmpeg codec library" "$LIBAVCODEC_VERSION" "$ext
ralibs" "libavutil = $LIBAVUTIL_VERSION" | 3196 pkgconfig_generate libavcodec "FFmpeg codec library" "$LIBAVCODEC_VERSION" "$ext
ralibs" "libavutil = $LIBAVUTIL_VERSION" |
| 3197 pkgconfig_generate libavformat "FFmpeg container format library" "$LIBAVFORMAT_V
ERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION" | 3197 pkgconfig_generate libavformat "FFmpeg container format library" "$LIBAVFORMAT_V
ERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION" |
| 3198 pkgconfig_generate libavdevice "FFmpeg device handling library" "$LIBAVDEVICE_VE
RSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION" | 3198 pkgconfig_generate libavdevice "FFmpeg device handling library" "$LIBAVDEVICE_VE
RSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION" |
| 3199 enabled avfilter && | 3199 enabled avfilter && |
| 3200 pkgconfig_generate libavfilter "FFmpeg video filtering library" "$LIBAVFILTE
R_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION" | 3200 pkgconfig_generate libavfilter "FFmpeg video filtering library" "$LIBAVFILTE
R_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION" |
| 3201 enabled postproc && | 3201 enabled postproc && |
| 3202 pkgconfig_generate libpostproc "FFmpeg post processing library" "$LIBPOSTPRO
C_VERSION" | 3202 pkgconfig_generate libpostproc "FFmpeg post processing library" "$LIBPOSTPRO
C_VERSION" |
| 3203 pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERS
ION" "" "libavutil = $LIBAVUTIL_VERSION" | 3203 pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERS
ION" "" "libavutil = $LIBAVUTIL_VERSION" |
| OLD | NEW |