pgsql: Don't probe extra libraries for fdatasync.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't probe extra libraries for fdatasync.
Date: 2023-08-17 04:21:36
Message-ID: E1qWUVs-000X4t-Ce@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)eisentraut(dot)org>
Reviewed-by: Tristan Partin <tristan(at)neon(dot)tech>
Discussion: https://postgr.es/m/CA%2BhUKGLLVx4drdvXats9PxH3eeB%2BE2NkJReJ%2BRGmaOpU%3D9rgEA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/64393a7ff9ec36164af337ae5ec33e3624d1450c

Modified Files
--------------
configure | 57 ---------------------------------------------------------
configure.ac | 2 --
meson.build | 1 -
3 files changed, 60 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2023-08-17 04:21:37 pgsql: Remove traces of Sun -lposix4.
Previous Message Thomas Munro 2023-08-17 04:00:36 pgsql: Invalidate smgr_targblock in smgrrelease().