configure: check for nanosecond precission stat
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 25 May 2013 13:32:14 +0000 (15:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 31 May 2013 15:28:44 +0000 (17:28 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index be20646..3ae1261 100755 (executable)
--- a/configure
+++ b/configure
@@ -1511,6 +1511,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
@@ -3960,6 +3961,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)"