Minor configure/meson cleanup
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-08-07T09:18:58Z
Lists: pgsql-hackers
Attachments
- 0001-Don-t-probe-extra-libraries-for-fdatasync.patch (text/x-patch) patch 0001
- 0002-Remove-traces-of-Sun-lposix4.patch (text/x-patch) patch 0002
0001: There is no point in searching -lrt and -lposix4 for fdatasync() if it's supposed to help Solaris only. They moved all the realtime stuff into the main C library at least as far back as Solaris 10/OpenSolaris. 0002: There is no point in probing -lposix4 for anything. That was superseded by -lrt even longer ago. We could go further: I suspect the only remaining -lrt search we still need in practice is for shm_open() on glibc < 2.34, but here I just wanted to clean out some old Sun stuff that was called out by name.
Commits
-
Remove traces of Sun -lposix4.
- 8fe4beaa21a4 17.0 landed
-
Don't probe extra libraries for fdatasync.
- 64393a7ff9ec 17.0 landed