5 # Define HAVE_ST_MTIM if struct stat has an st_mtim member.
7 AC_DEFUN(AC_STRUCT_ST_MTIM,
8 [AC_CACHE_CHECK([for st_mtim in struct stat], ac_cv_struct_st_mtim,
9 [AC_TRY_COMPILE([#include <sys/types.h>
10 #include <sys/stat.h>], [struct stat s; s.st_mtim;],
11 ac_cv_struct_st_mtim=yes, ac_cv_struct_st_mtim=no)])
12 if test $ac_cv_struct_st_mtim = yes; then
13 AC_DEFINE(HAVE_ST_MTIM)