pgsql: Meson: Fix check_header() for readline and gssapi

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Meson: Fix check_header() for readline and gssapi
Date: 2026-04-20 03:37:29
Message-ID: E1wEfRx-001nfF-0V@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Meson: Fix check_header() for readline and gssapi

Since f039c2244110, the minimum version of meson supported is 0.57.2,
meaning that it is possible to use the result of declare_dependency()
when checking for headers with check_header(). There were two TODOs for
readline and gssapi to change declare_dependency() after upgrading to at
least 0.57.0, which were not addressed yet.

While on it, this fixes a comment related to str.replace(). The
function has been introduced in meson 0.58.0, not 0.56.

Author: Andreas Karlsson <andreas(at)proxel(dot)se>
Reviewed-by: Tristan Partin <tristan(at)partin(dot)io>
Discussion: https://postgr.es/m/00cd2e0c-85df-4cf9-a889-125d85e66980@proxel.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/63a116a96e7377ffb385f394655a387021d4b75b

Modified Files
--------------
meson.build | 38 +++++++++++++++-----------------------
1 file changed, 15 insertions(+), 23 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2026-04-20 05:07:52 pgsql: Flush statistics during idle periods in parallel apply worker.
Previous Message David Rowley 2026-04-19 21:59:09 pgsql: Minor fixes for test_bitmapset.c