diff options
author | Damien Miller <djm@mindrot.org> | 2017-06-10 23:41:25 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-06-10 23:41:25 +1000 |
commit | bcd1485075aa72ba9418003f5cc27af2b049c51b (patch) | |
tree | 122b7024821c2c47b6df71639fe578bf5f571183 /configure.ac | |
parent | 072e172f1d302d2a2c6043ecbfb4004406717b96 (diff) |
portability for sftp globbed ls sort by mtime
Include replacement timespeccmp() for systems that lack it.
Support time_t struct stat->st_mtime in addition to
timespec stat->st_mtim, as well as unsorted fallback.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 46f7d4957..18079acba 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -3814,6 +3814,8 @@ OSSH_CHECK_HEADER_FOR_FIELD([ut_time], [utmpx.h], [HAVE_TIME_IN_UTMPX]) | |||
3814 | OSSH_CHECK_HEADER_FOR_FIELD([ut_tv], [utmpx.h], [HAVE_TV_IN_UTMPX]) | 3814 | OSSH_CHECK_HEADER_FOR_FIELD([ut_tv], [utmpx.h], [HAVE_TV_IN_UTMPX]) |
3815 | 3815 | ||
3816 | AC_CHECK_MEMBERS([struct stat.st_blksize]) | 3816 | AC_CHECK_MEMBERS([struct stat.st_blksize]) |
3817 | AC_CHECK_MEMBERS([struct stat.st_mtim]) | ||
3818 | AC_CHECK_MEMBERS([struct stat.st_mtime]) | ||
3817 | AC_CHECK_MEMBERS([struct passwd.pw_gecos, struct passwd.pw_class, | 3819 | AC_CHECK_MEMBERS([struct passwd.pw_gecos, struct passwd.pw_class, |
3818 | struct passwd.pw_change, struct passwd.pw_expire], | 3820 | struct passwd.pw_change, struct passwd.pw_expire], |
3819 | [], [], [[ | 3821 | [], [], [[ |