Minor configure/meson cleanup

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Minor configure/meson cleanup
Date: 2023-08-07 09:18:58
Message-ID: CA+hUKGLLVx4drdvXats9PxH3eeB+E2NkJReJ+RGmaOpU=9rgEA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Attachment Content-Type Size
0001-Don-t-probe-extra-libraries-for-fdatasync.patch text/x-patch 3.3 KB
0002-Remove-traces-of-Sun-lposix4.patch text/x-patch 2.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2023-08-07 09:36:40 Re: Extract numeric filed in JSONB more effectively
Previous Message Alvaro Herrera 2023-08-07 09:10:44 Re: Using defines for protocol characters