X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure;h=0848fed3e615719414f53110ac611af39d6b4164;hb=1d36defe94c7d7ebf995d4dbb4f878d06272f9c6;hp=8928f09a0384b372667a07377521a0d98d3c77ac;hpb=ffa05e0802fd77043b5d1b1aef4aa6caee2b9291;p=ffmpeg diff --git a/configure b/configure index 8928f09a038..0848fed3e61 100755 --- a/configure +++ b/configure @@ -1199,8 +1199,8 @@ require_libfreetype(){ pkg="freetype2" check_cmd $pkg_config --exists --print-errors $pkg \ || die "ERROR: $pkg not found" - pkg_cflags=$($pkg_config --cflags $pkg) - pkg_libs=$($pkg_config --libs $pkg) + pkg_cflags=$($pkg_config --cflags $pkg_config_flags $pkg) + pkg_libs=$($pkg_config --libs $pkg_config_flags $pkg) { echo "#include " echo "#include FT_FREETYPE_H" @@ -2163,7 +2163,7 @@ vp6a_decoder_select="vp6_decoder" vp6f_decoder_select="vp6_decoder" vp7_decoder_select="h264pred videodsp" vp8_decoder_select="h264pred videodsp" -vp9_decoder_select="videodsp" +vp9_decoder_select="videodsp vp9_parser" webp_decoder_select="vp8_decoder" wmapro_decoder_select="mdct sinewin" wmav1_decoder_select="mdct sinewin" @@ -2499,6 +2499,7 @@ hqdn3d_filter_deps="gpl" interlace_filter_deps="gpl" kerndeint_filter_deps="gpl" ladspa_filter_deps="ladspa dlopen" +ladspa_filter_extralibs='$ldl' mcdeint_filter_deps="avcodec gpl" movie_filter_deps="avcodec avformat" mp_filter_deps="gpl avcodec swscale inline_asm" @@ -3615,7 +3616,10 @@ elif enabled arm; then case "$subarch" in armv5t*) enable fast_clz ;; - armv[6-8]*) enable fast_clz fast_unaligned ;; + armv[6-8]*) + enable fast_clz + disabled fast_unaligned || enable fast_unaligned + ;; esac elif enabled avr32; then @@ -4392,7 +4396,8 @@ EOF check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test, %eax"' || check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test(%rip), %eax"' - # check whether binutils is new enough to compile SSSE3/MMXEXT + # check whether binutils is new enough to compile AVX/SSSE3/MMXEXT + enabled avx && check_inline_asm avx_inline '"vextractf128 $1, %ymm0, %xmm1"' enabled ssse3 && check_inline_asm ssse3_inline '"pabsw %xmm0, %xmm0"' enabled mmxext && check_inline_asm mmxext_inline '"pmaxub %mm0, %mm1"' @@ -5395,7 +5400,7 @@ get_version(){ map 'get_version $v' $LIBRARY_LIST -map 'eval echo "FFLIBS-${v}=\$${v}_deps" >> config.mak' $LIBRARY_LIST +map 'eval echo "${v}_FFLIBS=\$${v}_deps" >> config.mak' $LIBRARY_LIST print_program_libs(){ eval "program_libs=\$${1}_libs"