External library support:
--enable-avisynth enable reading of AVISynth script files [no]
--enable-bzlib enable bzlib [autodetect]
+ --enable-frei0r enable frei0r video filtering
--enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
--enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
--enable-libopencv enable video filtering via libopencv [no]
ffprobe
ffserver
fft
+ frei0r
golomb
gpl
gray
poll_h
setrlimit
strerror_r
+ strtok_r
struct_addrinfo
struct_ipv6_mreq
struct_sockaddr_in6
udp_protocol_deps="network"
# filters
+blackframe_filter_deps="gpl"
+frei0r_filter_deps="frei0r dlopen strtok_r"
ocv_smooth_filter_deps="libopencv"
+yadif_filter_deps="gpl"
# libraries
avdevice_deps="avcodec avformat"
check_asm bswap '"bswap %%eax" ::: "%eax"'
- YASMFLAGS="-f $objformat"
- enabled x86_64 && append YASMFLAGS "-m amd64"
- enabled pic && append YASMFLAGS "-DPIC"
- test -n "$extern_prefix" && append YASMFLAGS "-DPREFIX"
- case "$objformat" in
- elf) enabled debug && append YASMFLAGS "-g dwarf2" ;;
- esac
if ! disabled_any asm mmx yasm; then
+ if check_cmd $yasmexe --version; then
+ enabled x86_64 && yasm_extra="-m amd64"
+ yasm_debug="-g dwarf2"
+ elif check_cmd nasm -v; then
+ yasmexe=nasm
+ yasm_debug="-g -F dwarf"
+ enabled x86_64 && test "$objformat" = elf && objformat=elf64
+ fi
+
+ YASMFLAGS="-f $objformat $yasm_extra"
+ enabled pic && append YASMFLAGS "-DPIC"
+ test -n "$extern_prefix" && append YASMFLAGS "-DPREFIX"
+ case "$objformat" in
+ elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
+ esac
+
check_yasm "pabsw xmm0, xmm0" && enable yasm ||
die "yasm not found, use --disable-yasm for a crippled build"
fi
check_func ${malloc_prefix}posix_memalign && enable posix_memalign
check_func setrlimit
check_func strerror_r
+check_func strtok_r
check_func_headers io.h setmode
check_func_headers lzo/lzo1x.h lzo1x_999_compress
check_lib2 "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
# these are off by default, so fail if requested and not available
enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lavifil32
+enabled frei0r && { check_header frei0r.h || die "ERROR: frei0r.h header not found"; }
enabled libdirac && add_cflags $(pkg-config --cflags dirac) &&
require libdirac libdirac_decoder/dirac_parser.h dirac_decoder_init $(pkg-config --libs dirac) &&
require libdirac libdirac_encoder/dirac_encoder.h dirac_encoder_init $(pkg-config --libs dirac)
echo "SDL support ${sdl-no}"
echo "Sun medialib support ${mlib-no}"
echo "AVISynth enabled ${avisynth-no}"
+echo "frei0r enabled ${frei0r-no}"
echo "libdc1394 support ${libdc1394-no}"
echo "libdirac enabled ${libdirac-no}"
echo "libfaac enabled ${libfaac-no}"
libavcore
libavdevice
libavfilter
+ libavfilter/$arch
libavformat
libavutil
libavutil/$arch
libavcore/Makefile
libavdevice/Makefile
libavfilter/Makefile
+ libavfilter/${arch}/Makefile
libavformat/Makefile
libavutil/Makefile
libpostproc/Makefile