From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify passing of configure arguments to pg_config
Date: Mon, 10 Feb 2020 18:26:27 +0000
Message-ID: <E1j1DlL-0001pJ-Ft@gemulon.postgresql.org> (raw)
Simplify passing of configure arguments to pg_config
The previous system had configure put the value into the makefiles and
then have the makefiles pass them to the build of pg_config. That was
put in place when pg_config was a shell script. We can simplify that
by having configure put the value into pg_config.h directly. This
also makes the standard build system match how the MSVC build system
already does it.
Discussion: https://www.postgresql.org/message-id/flat/6e457870-cef5-5f1d-b57c-fc89cfb8a788%402ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b691c189c671ca9b88743ed6546b60641e5199e4
Modified Files
--------------
configure | 6 ++++--
configure.in | 2 +-
src/Makefile.global.in | 3 ---
src/common/Makefile | 1 -
src/common/config_info.c | 6 +-----
src/include/pg_config.h.in | 3 +++
src/tools/msvc/Solution.pm | 7 +------
7 files changed, 10 insertions(+), 18 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Simplify passing of configure arguments to pg_config
In-Reply-To: <E1j1DlL-0001pJ-Ft@gemulon.postgresql.org>
References: <E1j1DlL-0001pJ-Ft@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox