Index: configure =================================================================== --- configure (revision 23012) +++ configure (working copy) @@ -1040,6 +1040,7 @@ fast_cmov fast_unaligned fork + freetype2 getaddrinfo gethrtime GetProcessMemoryInfo @@ -1056,6 +1057,7 @@ llrintf local_aligned_16 local_aligned_8 + localtime_r log2 log2f loongson @@ -1414,6 +1416,7 @@ # filters movie_filter_deps="avfilter_lavf" +yadif_filter_deps=gpl avfilter_lavf_deps="avformat" # libraries @@ -2522,6 +2525,7 @@ check_struct "sys/time.h sys/resource.h" "struct rusage" ru_maxrss check_func inet_aton $network_extralibs check_func isatty +check_func localtime_r check_func ${malloc_prefix}memalign && enable memalign check_func mkstemp check_func ${malloc_prefix}posix_memalign && enable posix_memalign @@ -2687,10 +2691,15 @@ check_header sys/soundcard.h check_header soundcard.h +drawtext_filter_extralibs="-lfreetype -lz" +check_foo_config freetype2 freetype ft2build.h FT_Init_FreeType + enabled_any alsa_indev alsa_outdev && check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack +enabled drawtext_filter && add_cflags $(pkg-config --cflags freetype2) && require libfreetype ft2build.h FT_Init_FreeType -lfreetype + enabled x11grab && check_header X11/Xlib.h && check_header X11/extensions/XShm.h &&