pgsql: meson: Move C99 test earlier

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Move C99 test earlier
Date: 2025-08-18 05:46:38
Message-ID: E1unsha-000R9W-0f@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Move C99 test earlier

Move the test for compiler options for C99 earlier in meson.build,
before we make use of the compiler for other tests. That way, if any
command-line options are needed, subsequent tests will also use them.
This is at the moment a theoretical problem, but it seems better to
get this correct. It also matches the order in the Autoconf-based
build more closely.

Discussion: https://www.postgresql.org/message-id/flat/01a69441-af54-4822-891b-ca28e05b215a(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4a4038068bb29eff2516296fc842b88741625afd

Modified Files
--------------
meson.build | 85 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 43 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-08-18 06:14:05 pgsql: Move SQL-callable code related to multixacts into its own file
Previous Message Michael Paquier 2025-08-18 02:40:16 pgsql: Refactor init_params() in sequence.c to not use FormData_pg_sequ