From fe5390a04ce44daf1604298756d772b2ce12b268 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 1 Nov 2007 17:57:57 +0000 Subject: 24050: handle nanosecond resolution timestamps on systems that support them --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 83fda70b8..f42b90994 100644 --- a/configure.ac +++ b/configure.ac @@ -977,6 +977,17 @@ if test x$zsh_cv_type_sigset_t = xno; then AC_DEFINE(sigset_t, unsigned int) fi +dnl check structures for high resolution timestamps +AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec, + struct stat.st_atimespec.tv_nsec, + struct stat.st_atimensec, + struct stat.st_mtim.tv_nsec, + struct stat.st_mtimespec.tv_nsec, + struct stat.st_mtimensec, + struct stat.st_ctim.tv_nsec, + struct stat.st_ctimespec.tv_nsec, + struct stat.st_ctimensec]) + dnl Check for struct timezone since some old SCO versions do not define it zsh_TYPE_EXISTS([ #ifdef HAVE_SYS_TIME_H -- cgit 1.4.1