[FFmpeg-devel] [PATCH 2/4] configure: check for nanosecond precission stat

Michael Niedermayer michaelni at gmx.at
Sat May 25 15:58:02 CEST 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 configure |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index faf3186..f446daf 100755
--- a/configure
+++ b/configure
@@ -1510,6 +1510,7 @@ HAVE_LIST="
     struct_sockaddr_in6
     struct_sockaddr_sa_len
     struct_sockaddr_storage
+    struct_stat_st_mtim_tv_nsec
     struct_v4l2_frmivalenum_discrete
     symver_asm_label
     symver_gnu_asm
@@ -3912,6 +3913,7 @@ check_func  mprotect
 check_func  ${malloc_prefix}posix_memalign      && enable posix_memalign
 check_func_headers malloc.h _aligned_malloc     && enable aligned_malloc
 check_func  setrlimit
+check_struct "sys/stat.h" "struct stat" st_mtim.tv_nsec -D_BSD_SOURCE
 check_func  strerror_r
 check_func  sched_getaffinity
 check_builtin sync_val_compare_and_swap "" "int *ptr; int oldval, newval; __sync_val_compare_and_swap(ptr, oldval, newval)"
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list