Don't probe extra libraries for fdatasync.

Thomas Munro <tmunro@postgresql.org>

Commit: 64393a7ff9ec36164af337ae5ec33e3624d1450c
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2023-08-17T04:13:28Z
Releases: 17.0
Don't probe extra libraries for fdatasync.

Commit d2e15083 got rid of the main configure probe and HAVE_FDATASYNC
macro, but we still searched -lrt and -lposix4 for old Solaris systems.
It's in the C library on modern Solaris, as on other supported systems.

Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: Tristan Partin <tristan@neon.tech>
Discussion: https://postgr.es/m/CA%2BhUKGLLVx4drdvXats9PxH3eeB%2BE2NkJReJ%2BRGmaOpU%3D9rgEA%40mail.gmail.com

Files

PathChange+/−
configure modified +0 −57
configure.ac modified +0 −2
meson.build modified +0 −1

Discussion