This fixes the localtime_r() check, which was producing a false positive with musl and also fixes build with musl
Signed-off-by: Michael Niedermayer <michae...@gmx.at> --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index f674a06..ad0a634 100755 --- a/configure +++ b/configure @@ -4677,7 +4677,8 @@ check_func getopt check_func getrusage check_func gettimeofday check_func isatty -check_func localtime_r +check_func_headers time.h localtime_r || { check_func_headers time.h localtime_r -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 && + add_cppflags -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600; } check_func mach_absolute_time check_func mkstemp check_func mmap -- 1.7.9.5 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel