diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2007-11-01 17:57:57 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2007-11-01 17:57:57 +0000 |
commit | fe5390a04ce44daf1604298756d772b2ce12b268 (patch) | |
tree | 1c13e446cacb0e9462c07e5de027a181b592ea8f /configure.ac | |
parent | 8d956e9bcb8fe5aa3ca92e3c856b26800af11ff5 (diff) | |
download | zsh-fe5390a04ce44daf1604298756d772b2ce12b268.tar.gz zsh-fe5390a04ce44daf1604298756d772b2ce12b268.tar.xz zsh-fe5390a04ce44daf1604298756d772b2ce12b268.zip |
24050: handle nanosecond resolution timestamps on systems that support them
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
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 |