Don't probe extra libraries for fdatasync.
authorThomas Munro <tmunro@postgresql.org>
Thu, 17 Aug 2023 04:11:41 +0000 (16:11 +1200)
committerThomas Munro <tmunro@postgresql.org>
Thu, 17 Aug 2023 04:13:28 +0000 (16:13 +1200)
commit64393a7ff9ec36164af337ae5ec33e3624d1450c
treeb1cc726c9568bb3112587acb13b170886a6e9cc0
parent81e36d3e0df8d3d7a3daa2e2216f96df23ffc96a
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
configure
configure.ac
meson.build