101
101
--enable-gray enable full grayscale support (slower color)
102
102
--disable-swscale-alpha disable alpha channel support in swscale
105
--disable-doc do not build documentation
105
--disable-programs do not build command line programs
106
106
--disable-avconv disable avconv build
107
107
--disable-avplay disable avplay build
108
108
--disable-avprobe disable avprobe build
109
109
--disable-avserver disable avserver build
112
--disable-doc do not build documentation
110
113
--disable-avdevice disable libavdevice build
111
114
--disable-avcodec disable libavcodec build
112
115
--disable-avformat disable libavformat build
116
--disable-avutil disable libavutil build
113
117
--disable-swscale disable libswscale build
114
118
--disable-avfilter disable video filter support [no]
115
119
--disable-avresample disable libavresample build [no]
260
265
--disable-armv5te disable armv5te optimizations
261
266
--disable-armv6 disable armv6 optimizations
262
267
--disable-armv6t2 disable armv6t2 optimizations
263
--disable-armvfp disable ARM VFP optimizations
268
--disable-vfp disable VFP optimizations
264
269
--disable-neon disable NEON optimizations
265
270
--disable-vis disable VIS optimizations
266
271
--disable-inline-asm disable use of inline assembler
569
enabled $1 && v=1 || v=0
574
enabled $1 && v= || v=!
579
enabled $1 && v=1 || v=0
577
for cfg in $allopts; do
578
enabled $cfg || continue
579
eval dep_extralibs="\$${cfg}_extralibs"
580
test -n "$dep_extralibs" && add_extralibs $dep_extralibs
588
ucname="$(toupper $cfg)"
590
"print_config_${f##*.}" $cfg ${pfx}${ucname} >>$f
588
map 'eval echo "$v \${$v:-no}"' "$@" |
589
awk "BEGIN { split(\"$files\", files) }
591
c = \"$pfx\" toupper(\$1);
597
if (file ~ /\\.h\$/) {
598
printf(\"#define %s %d\\n\", c, v) >>file;
599
} else if (file ~ /\\.asm\$/) {
600
printf(\"%%define %s %d\\n\", c, v) >>file;
601
} else if (file ~ /\\.mak\$/) {
602
n = -v ? \"\" : \"!\";
603
printf(\"%s%s=yes\\n\", n, c) >>file;
596
test x"$1" = x-n && end=" " && shift || end="\n"
600
enabled $v && printf "%s$end" ${v%$suf};
613
enabled $v && printf "%s\n" ${v%$suf};
1404
1440
aligned_stack_if_any="ppc x86"
1405
1441
fast_64bit_if_any="alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
1406
fast_clz_if_any="alpha armv5te avr32 mips ppc x86"
1407
fast_unaligned_if_any="armv6 ppc x86"
1442
fast_clz_if_any="alpha avr32 mips ppc x86"
1443
fast_unaligned_if_any="ppc x86"
1409
1445
inline_asm_deps="!tms470"
1410
1446
need_memalign="altivec neon sse"
1436
1472
binkaudio_dct_decoder_select="mdct rdft dct sinewin"
1437
1473
binkaudio_rdft_decoder_select="mdct rdft sinewin"
1438
1474
cavs_decoder_select="golomb mpegvideo"
1475
comfortnoise_encoder_select="lpc"
1439
1476
cook_decoder_select="mdct sinewin"
1477
cscd_decoder_select="lzo"
1440
1478
cscd_decoder_suggest="zlib"
1441
1479
dca_decoder_select="mdct"
1442
1480
dnxhd_encoder_select="aandcttables mpegvideoenc"
1551
1591
vc1image_decoder_select="vc1_decoder"
1552
1592
vorbis_decoder_select="mdct"
1553
1593
vorbis_encoder_select="mdct"
1554
vp3_decoder_select="vp3dsp"
1555
vp5_decoder_select="vp3dsp"
1556
vp6_decoder_select="huffman vp3dsp"
1594
vp3_decoder_select="vp3dsp videodsp"
1595
vp5_decoder_select="vp3dsp videodsp"
1596
vp6_decoder_select="huffman vp3dsp videodsp"
1557
1597
vp6a_decoder_select="vp6_decoder"
1558
1598
vp6f_decoder_select="vp6_decoder"
1559
vp8_decoder_select="h264pred h264qpel"
1599
vp8_decoder_select="h264pred videodsp"
1560
1600
wmapro_decoder_select="mdct sinewin"
1561
1601
wmav1_decoder_select="mdct sinewin"
1562
1602
wmav1_encoder_select="mdct sinewin"
1627
1667
eac3_demuxer_select="ac3_parser"
1628
1668
flac_demuxer_select="flac_parser"
1629
1669
ipod_muxer_select="mov_muxer"
1670
ismv_muxer_select="mov_muxer"
1630
1671
matroska_audio_muxer_select="matroska_muxer"
1631
matroska_demuxer_suggest="zlib bzlib"
1672
matroska_demuxer_suggest="bzlib lzo zlib"
1632
1673
mov_demuxer_suggest="zlib"
1633
1674
mp3_demuxer_select="mpegaudio_parser"
1634
1675
mp4_muxer_select="mov_muxer"
1676
1718
ffrtmpcrypt_protocol_select="tcp_protocol"
1677
1719
ffrtmphttp_protocol_deps="!librtmp_protocol"
1678
1720
ffrtmphttp_protocol_select="http_protocol"
1679
gopher_protocol_deps="network"
1680
httpproxy_protocol_deps="network"
1721
gopher_protocol_select="network"
1681
1722
httpproxy_protocol_select="tcp_protocol"
1682
http_protocol_deps="network"
1683
1723
http_protocol_select="tcp_protocol"
1684
1724
https_protocol_select="tls_protocol"
1685
1725
librtmp_protocol_deps="librtmp"
1688
1728
librtmpt_protocol_deps="librtmp"
1689
1729
librtmpte_protocol_deps="librtmp"
1690
1730
mmsh_protocol_select="http_protocol"
1691
mmst_protocol_deps="network"
1731
mmst_protocol_select="network"
1692
1732
rtmp_protocol_deps="!librtmp_protocol"
1693
1733
rtmp_protocol_select="tcp_protocol"
1694
1734
rtmpe_protocol_select="ffrtmpcrypt_protocol"
1698
1738
rtmpte_protocol_select="ffrtmpcrypt_protocol ffrtmphttp_protocol"
1699
1739
rtmpts_protocol_select="ffrtmphttp_protocol https_protocol"
1700
1740
rtp_protocol_select="udp_protocol"
1701
sctp_protocol_deps="network struct_sctp_event_subscribe"
1702
tcp_protocol_deps="network"
1741
sctp_protocol_deps="struct_sctp_event_subscribe"
1742
sctp_protocol_select="network"
1743
tcp_protocol_select="network"
1703
1744
tls_protocol_deps_any="openssl gnutls"
1704
1745
tls_protocol_select="tcp_protocol"
1705
udp_protocol_deps="network"
1746
udp_protocol_select="network"
1708
1749
blackframe_filter_deps="gpl"
1721
1762
yadif_filter_deps="gpl"
1724
avdevice_deps="avcodec avformat"
1725
avformat_deps="avcodec"
1765
avcodec_deps="avutil"
1766
avdevice_deps="avutil avcodec avformat"
1767
avfilter_deps="avutil"
1768
avformat_deps="avutil avcodec"
1769
avresample_deps="avutil"
1770
swscale_deps="avutil"
1728
avconv_deps="avcodec avfilter avformat avresample swscale
1729
aformat_filter asyncts_filter
1730
format_filter fps_filter scale_filter setpts_filter"
1731
avplay_deps="avcodec avformat swscale sdl"
1773
avconv_deps="avcodec avfilter avformat avresample swscale"
1774
avconv_select="aformat_filter anull_filter asyncts_filter format_filter
1775
fps_filter null_filter resample_filter scale_filter
1777
avplay_deps="avcodec avformat avresample swscale sdl"
1732
1778
avplay_select="rdft"
1733
1779
avprobe_deps="avcodec avformat"
1734
1780
avserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer !shared"
1934
1971
optval="${opt#*=}"
1936
--extra-ldflags=*) add_ldflags $optval
1938
--extra-libs=*) add_extralibs $optval
1940
--disable-devices) disable $INDEV_LIST $OUTDEV_LIST
1942
--enable-debug=*) debuglevel="$optval"
1944
--disable-everything)
1945
map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
1947
--enable-random|--disable-random)
1948
action=${opt%%-random}
1949
do_random ${action#--} $COMPONENT_LIST
1951
--enable-random=*|--disable-random=*)
1952
action=${opt%%-random=*}
1953
do_random ${action#--} $optval
1955
--enable-*=*|--disable-*=*)
1956
eval $(echo "${opt%%=*}" | sed 's/--/action=/;s/-/ thing=/')
1957
is_in "${thing}s" $COMPONENT_LIST || die_unknown "$opt"
1958
eval list=\$$(toupper $thing)_LIST
1959
name=$(echo "${optval}" | sed "s/,/_${thing}|/g")_${thing}
1960
$action $(filter "$name" $list)
1962
--enable-?*|--disable-?*)
1963
eval $(echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g')
1964
if is_in $option $COMPONENT_LIST; then
1965
test $action = disable && action=unset
1966
eval $action \$$(toupper ${option%s})_LIST
1967
elif is_in $option $CMDLINE_SELECT; then
1974
NAME="${opt#--list-}"
1975
is_in $NAME $COMPONENT_LIST || die_unknown $opt
1977
eval show_list $NAME \$$(toupper $NAME)_LIST
1979
--help|-h) show_help
1982
optname="${opt%%=*}"
1983
optname="${optname#--}"
1984
optname=$(echo "$optname" | sed 's/-/_/g')
1985
if is_in $optname $CMDLINE_SET; then
1986
eval $optname='$optval'
1987
elif is_in $optname $CMDLINE_APPEND; then
1988
append $optname "$optval"
1977
add_extralibs $optval
1980
disable $INDEV_LIST $OUTDEV_LIST
1983
debuglevel="$optval"
1986
disable $PROGRAM_LIST
1988
--disable-everything)
1989
map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
1991
--enable-random|--disable-random)
1992
action=${opt%%-random}
1993
do_random ${action#--} $COMPONENT_LIST
1995
--enable-random=*|--disable-random=*)
1996
action=${opt%%-random=*}
1997
do_random ${action#--} $optval
1999
--enable-*=*|--disable-*=*)
2000
eval $(echo "${opt%%=*}" | sed 's/--/action=/;s/-/ thing=/')
2001
is_in "${thing}s" $COMPONENT_LIST || die_unknown "$opt"
2002
eval list=\$$(toupper $thing)_LIST
2003
name=$(echo "${optval}" | sed "s/,/_${thing}|/g")_${thing}
2004
$action $(filter "$name" $list)
2006
--enable-?*|--disable-?*)
2007
eval $(echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g')
2008
if is_in $option $COMPONENT_LIST; then
2009
test $action = disable && action=unset
2010
eval $action \$$(toupper ${option%s})_LIST
2011
elif is_in $option $CMDLINE_SELECT; then
2018
NAME="${opt#--list-}"
2019
is_in $NAME $COMPONENT_LIST || die_unknown $opt
2021
eval show_list $NAME \$$(toupper $NAME)_LIST
2023
--help|-h) show_help
2026
optname="${opt%%=*}"
2027
optname="${optname#--}"
2028
optname=$(echo "$optname" | sed 's/-/_/g')
2029
if is_in $optname $CMDLINE_SET; then
2030
eval $optname='$optval'
2031
elif is_in $optname $CMDLINE_APPEND; then
2032
append $optname "$optval"
2153
2215
prescott|nocona) echo -xarch=sse3 -xchip=pentium4 ;;
2154
2216
*-sse3) echo -xarch=sse3 ;;
2155
2217
core2) echo -xarch=ssse3 -xchip=core2 ;;
2218
corei7) echo -xarch=sse4_2 -xchip=nehalem ;;
2219
corei7-avx) echo -xarch=avx -xchip=sandybridge ;;
2156
2220
amdfam10|barcelona|bdver*) echo -xarch=sse4_1 ;;
2157
2221
athlon-4|athlon-[mx]p) echo -xarch=ssea ;;
2158
2222
k8|opteron|athlon64|athlon-fx)
2498
2551
# Add processor-specific flags
2499
if test "$cpu" = generic; then
2552
if enabled aarch64; then
2556
cpuflags="-march=$cpu"
2559
cpuflags="-mcpu=$cpu"
2563
elif enabled alpha; then
2565
cpuflags="-mcpu=$cpu"
2567
elif enabled arm; then
2570
check_cpp_condition stddef.h \
2571
"defined __ARM_ARCH_${1}__ || defined __TARGET_ARCH_${2:-$1}" \
2576
if check_arm_arch 4; then echo armv4;
2577
elif check_arm_arch 4T; then echo armv4t;
2578
elif check_arm_arch 5; then echo armv5;
2579
elif check_arm_arch 5E; then echo armv5e;
2580
elif check_arm_arch 5T; then echo armv5t;
2581
elif check_arm_arch 5TE; then echo armv5te;
2582
elif check_arm_arch 5TEJ; then echo armv5te;
2583
elif check_arm_arch 6; then echo armv6;
2584
elif check_arm_arch 6J; then echo armv6j;
2585
elif check_arm_arch 6K; then echo armv6k;
2586
elif check_arm_arch 6Z; then echo armv6z;
2587
elif check_arm_arch 6ZK; then echo armv6zk;
2588
elif check_arm_arch 6T2; then echo armv6t2;
2589
elif check_arm_arch 7; then echo armv7;
2590
elif check_arm_arch 7A 7_A; then echo armv7-a;
2591
elif check_arm_arch 7R 7_R; then echo armv7-r;
2592
elif check_arm_arch 7M 7_M; then echo armv7-m;
2593
elif check_arm_arch 7EM 7E_M; then echo armv7-m;
2594
elif check_arm_arch 8A 8_A; then echo armv8-a;
2598
[ "$cpu" = generic ] && cpu=$(probe_arm_arch)
2602
cpuflags="-march=$cpu"
2603
subarch=$(echo $cpu | sed 's/[^a-z0-9]//g')
2606
cpuflags="-mcpu=$cpu"
2608
cortex-a*) subarch=armv7a ;;
2609
cortex-r*) subarch=armv7r ;;
2610
cortex-m*) enable thumb; subarch=armv7m ;;
2611
arm11*) subarch=armv6 ;;
2612
arm[79]*e*|arm9[24]6*|arm96*|arm102[26]) subarch=armv5te ;;
2613
armv4*|arm7*|arm9[24]*) subarch=armv4 ;;
2614
*) subarch=$(probe_arm_arch) ;;
2620
armv5t*) enable fast_clz ;;
2621
armv[6-8]*) enable fast_clz fast_unaligned ;;
2624
elif enabled avr32; then
2629
cpuflags="-mpart=$cpu"
2633
cpuflags="-march=$cpu"
2637
cpuflags="-mcpu=$cpu"
2641
cpuflags="-march=$cpu"
2645
elif enabled bfin; then
2647
cpuflags="-mcpu=$cpu"
2649
elif enabled mips; then
2651
cpuflags="-march=$cpu"
2501
2653
elif enabled ppc; then
2503
2655
case $(tolower $cpu) in
2514
2666
disable altivec
2516
2668
g3|75*|ppc75*|powerpc75*)
2517
cpuflags="-mcpu=750 -mpowerpc-gfxopt"
2669
cpuflags="-mcpu=750"
2518
2670
disable altivec
2520
2672
g4|745*|ppc745*|powerpc745*)
2521
cpuflags="-mcpu=7450 -mpowerpc-gfxopt"
2673
cpuflags="-mcpu=7450"
2523
2675
74*|ppc74*|powerpc74*)
2524
cpuflags="-mcpu=7400 -mpowerpc-gfxopt"
2676
cpuflags="-mcpu=7400"
2526
2678
g5|970|ppc970|powerpc970)
2527
cpuflags="-mcpu=970 -mpowerpc-gfxopt -mpowerpc64"
2679
cpuflags="-mcpu=970"
2530
cpuflags="-mcpu=$cpu -mpowerpc-gfxopt -mpowerpc64"
2682
cpuflags="-mcpu=$cpu"
2533
2685
cpuflags="-mcpu=cell"
2576
elif enabled sparc; then
2580
cpuflags="-mcpu=$cpu"
2588
elif enabled arm; then
2592
cpuflags="-march=$cpu"
2593
subarch=$(echo $cpu | sed 's/[^a-z0-9]//g')
2596
cpuflags="-mcpu=$cpu"
2598
cortex-a*) subarch=armv7a ;;
2599
cortex-r*) subarch=armv7r ;;
2600
cortex-m*) enable thumb; subarch=armv7m ;;
2601
arm11*) subarch=armv6 ;;
2602
arm[79]*e*|arm9[24]6*|arm96*|arm102[26]) subarch=armv5te ;;
2603
armv4*|arm7*|arm9[24]*) subarch=armv4 ;;
2608
elif enabled alpha; then
2610
enabled ccc && cpuflags="-arch $cpu" || cpuflags="-mcpu=$cpu"
2612
elif enabled bfin; then
2614
cpuflags="-mcpu=$cpu"
2616
elif enabled mips; then
2618
cpuflags="-march=$cpu"
2620
elif enabled avr32; then
2625
cpuflags="-mpart=$cpu"
2629
cpuflags="-march=$cpu"
2633
cpuflags="-mcpu=$cpu"
2637
cpuflags="-march=$cpu"
2643
add_cflags $cpuflags
2644
add_asflags $cpuflags
2742
if [ "$cpu" != generic ]; then
2743
add_cflags $cpuflags
2744
add_asflags $cpuflags
2646
2747
# compiler sanity check
2647
2748
check_exec <<EOF
2668
2769
check_host_cflags -std=c99
2669
2770
check_host_cflags -Wall
2776
check_code cc "" "int test[2*($expr) - 1]" &&
2777
subarch=$arch64 || subarch=$arch32
2671
2780
case "$arch" in
2672
alpha|ia64|mips|parisc|sparc)
2785
check_64bit mips mips64 '_MIPS_SIM > 1'
2789
check_64bit parisc parisc64 'sizeof(void *) > 4'
2793
check_64bit ppc ppc64 'sizeof(void *) > 4'
2797
check_64bit sparc sparc64 'sizeof(void *) > 4'
2677
check_code cc "" "int test[(int)sizeof(char*) - 7]" && subarch="x86_64"
2801
check_64bit x86_32 x86_64 'sizeof(void *) > 4'
2678
2802
if test "$subarch" = "x86_64"; then
2765
2889
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
2766
2890
SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'
2767
SLIB_EXTRA_CMD=-'$(DLLTOOL) -m $(LIBTARGET) -d $$(@:$(SLIBSUF)=.def) -l $(SUBDIR)$(SLIBNAME:$(SLIBSUF)=.lib) -D $(SLIBNAME_WITH_MAJOR)'
2891
SLIB_EXTRA_CMD=-'sed -e "s/ @[^ ]*//" $$(@:$(SLIBSUF)=.orig.def) > $$(@:$(SLIBSUF)=.def); $(DLLTOOL) -m $(LIBTARGET) -d $$(@:$(SLIBSUF)=.def) -l $(SUBDIR)$(SLIBNAME:$(SLIBSUF)=.lib) -D $(SLIBNAME_WITH_MAJOR)'
2768
2892
SLIB_INSTALL_NAME='$(SLIBNAME_WITH_MAJOR)'
2769
2893
SLIB_INSTALL_LINKS=
2770
2894
SLIB_INSTALL_EXTRA_SHLIB='$(SLIBNAME:$(SLIBSUF)=.lib)'
2771
2895
SLIB_INSTALL_EXTRA_LIB='lib$(SLIBNAME:$(SLIBSUF)=.dll.a) $(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.def)'
2772
SHFLAGS='-shared -Wl,--output-def,$$(@:$(SLIBSUF)=.def) -Wl,--out-implib,$(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
2896
SHFLAGS='-shared -Wl,--output-def,$$(@:$(SLIBSUF)=.orig.def) -Wl,--out-implib,$(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
2773
2897
objformat="win32"
2774
2898
dlltool="${cross_prefix}dlltool"
3042
3171
warn "Compiler does not indicate floating-point ABI, guessing $fpabi."
3045
enabled armv5te && check_inline_asm armv5te '"qadd r0, r0, r0"'
3046
enabled armv6 && check_inline_asm armv6 '"sadd16 r0, r0, r0"'
3047
enabled armv6t2 && check_inline_asm armv6t2 '"movt r0, #0"'
3048
enabled armvfp && check_inline_asm armvfp '"fadds s0, s0, s0"'
3049
enabled neon && check_inline_asm neon '"vadd.i16 q0, q0, q0"'
3050
enabled vfpv3 && check_inline_asm vfpv3 '"vmov.f32 s0, #1.0"'
3174
enabled armv5te && check_insn armv5te 'qadd r0, r0, r0'
3175
enabled armv6 && check_insn armv6 'sadd16 r0, r0, r0'
3176
enabled armv6t2 && check_insn armv6t2 'movt r0, #0'
3177
enabled neon && check_insn neon 'vadd.i16 q0, q0, q0'
3178
enabled vfp && check_insn vfp 'fadds s0, s0, s0'
3179
enabled vfpv3 && check_insn vfpv3 'vmov.f32 s0, #1.0'
3181
[ $target_os = linux ] ||
3182
map 'enabled_any ${v}_external ${v}_inline || disable $v' \
3052
3185
check_inline_asm asm_mod_q '"add r0, %Q0, %R0" :: "r"((long long)0)'
3053
3186
check_inline_asm asm_mod_y '"vmul.i32 d0, d0, %y0" :: "x"(0)'
3140
3279
elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
3143
check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
3282
check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
3144
3283
die "yasm not found, use --disable-yasm for a crippled build"
3145
check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx_external
3146
3284
check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
3147
3285
check_yasm "CPU amdnop" && enable cpunop
3328
3476
enabled libvpx && {
3329
3477
enabled libvpx_decoder && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec_init_ver -lvpx ||
3330
3478
die "ERROR: libvpx decoder version must be >=0.9.1"; }
3331
enabled libvpx_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_enc_init_ver -lvpx ||
3332
die "ERROR: libvpx encoder version must be >=0.9.1"; } }
3479
enabled libvpx_encoder && { check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_enc_init_ver VPX_CQ" -lvpx ||
3480
die "ERROR: libvpx encoder version must be >=0.9.6"; } }
3333
3481
enabled libx264 && require libx264 x264.h x264_encoder_encode -lx264 &&
3334
3482
{ check_cpp_condition x264.h "X264_BUILD >= 118" ||
3335
3483
die "ERROR: libx264 version must be >= 0.118."; }
3513
3661
elif enabled ccc; then
3514
3662
# disable some annoying warnings
3515
add_cflags -msg_disable cvtu32to64
3516
add_cflags -msg_disable embedcomment
3517
add_cflags -msg_disable needconstext
3518
add_cflags -msg_disable nomainieee
3519
add_cflags -msg_disable ptrmismatch1
3520
add_cflags -msg_disable unreachcode
3663
add_cflags -msg_disable bitnotint
3664
add_cflags -msg_disable mixfuncvoid
3665
add_cflags -msg_disable nonstandcast
3666
add_cflags -msg_disable unsupieee
3521
3667
elif enabled gcc; then
3522
3668
check_optflags -fno-tree-vectorize
3523
3669
check_cflags -Werror=implicit-function-declaration
3887
4033
pkgconfig_generate libavcodec "Libav codec library" "$LIBAVCODEC_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
3888
4034
pkgconfig_generate libavformat "Libav container format library" "$LIBAVFORMAT_VERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION"
3889
4035
pkgconfig_generate libavdevice "Libav device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION"
3890
pkgconfig_generate libavfilter "Libav video filtering library" "$LIBAVFILTER_VERSION" "$extralibs"
3891
pkgconfig_generate libavresample "Libav audio resampling library" "$LIBAVRESAMPLE_VERSION" "$extralibs"
4036
pkgconfig_generate libavfilter "Libav video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
4037
pkgconfig_generate libavresample "Libav audio resampling library" "$LIBAVRESAMPLE_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
3892
4038
pkgconfig_generate libswscale "Libav image rescaling library" "$LIBSWSCALE_VERSION" "$LIBM" "libavutil = $LIBAVUTIL_VERSION"