meson: Move C99 test earlier

Peter Eisentraut <peter@eisentraut.org>

Commit: 4a4038068bb29eff2516296fc842b88741625afd
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-18T05:42:39Z
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@eisentraut.org

Files

PathChange+/−
meson.build modified +42 −43

Discussion