summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTom Lane2020-02-21 19:04:19 +0000
committerTom Lane2020-02-21 19:30:47 +0000
commit481c8e9232386e289fbd3e8f75893ae8d9814298 (patch)
tree34c0aa0246b7333019d6a8c8326381f6d9599436 /configure.in
parentf88a058200a40032e88a8bfc1aea453c22d2dcb0 (diff)
Assume that we have utime() and <utime.h>.
These are required by POSIX since SUSv2, and no live platforms fail to provide them. On Windows, utime() exists and we bring our own <utime.h>, so we're good there too. So remove the configure probes and ad-hoc substitute code. We don't need to check for utimes() anymore either, since that was only used as a substitute. In passing, make the Windows build include <sys/utime.h> only where we need it, not everywhere. This is part of a series of commits to get rid of no-longer-relevant configure checks and dead src/port/ code. I'm committing them separately to make it easier to back out individual changes if they prove less portable than I expect. Discussion: https://postgr.es/m/15379.1582221614@sss.pgh.pa.us
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index a9c91dadbc1..e8e972231c2 100644
--- a/configure.in
+++ b/configure.in
@@ -1300,7 +1300,6 @@ AC_CHECK_HEADERS(m4_normalize([
sys/un.h
termios.h
ucred.h
- utime.h
wchar.h
wctype.h
]))
@@ -1642,8 +1641,6 @@ AC_CHECK_FUNCS(m4_normalize([
symlink
sync_file_range
uselocale
- utime
- utimes
wcstombs_l
]))