From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove some configure header-file checks that we weren't really
Date: Sat, 25 Feb 2017 23:10:18 +0000
Message-ID: <E1chlTm-0008RN-Hj@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Remove some configure header-file checks that we weren't really using.
We had some AC_CHECK_HEADER tests that were really wastes of cycles,
because the code proceeded to #include those headers unconditionally
anyway, in all or a large majority of cases. The lack of complaints
shows that those headers are available on every platform of interest,
so we might as well let configure run a bit faster by not probing
those headers at all.
I suspect that some of the tests I left alone are equally useless, but
since all the existing #includes of the remaining headers are properly
guarded, I didn't touch them.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/2bd7f85796ec373ecae61dd480437b3e668ec883
Modified Files
--------------
config/ac_func_accept_argtypes.m4 | 9 +--------
config/c-library.m4 | 10 +++++-----
configure | 38 +++++---------------------------------
configure.in | 8 +-------
src/backend/libpq/ifaddr.c | 2 --
src/bin/psql/command.c | 2 --
src/include/libpq/libpq-be.h | 2 --
src/include/pg_config.h.in | 15 ---------------
src/include/pg_config.h.win32 | 12 ------------
9 files changed, 12 insertions(+), 86 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Remove some configure header-file checks that we weren't really
In-Reply-To: <E1chlTm-0008RN-Hj@gemulon.postgresql.org>
References: <E1chlTm-0008RN-Hj@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