]> granicus.if.org Git - postgresql/commit
Remove some configure header-file checks that we weren't really using.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Feb 2017 23:10:09 +0000 (18:10 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Feb 2017 23:10:09 +0000 (18:10 -0500)
commit2bd7f85796ec373ecae61dd480437b3e668ec883
treef4f137a5e74b3e0583178fd4078d2f94427fe48b
parent9e3755ecb2d058f7d123dd35a2e1784006190962
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.
config/ac_func_accept_argtypes.m4
config/c-library.m4
configure
configure.in
src/backend/libpq/ifaddr.c
src/bin/psql/command.c
src/include/libpq/libpq-be.h
src/include/pg_config.h.in
src/include/pg_config.h.win32