Remove some configure header-file checks that we weren't really using.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| config/ac_func_accept_argtypes.m4 | modified | +1 −8 |
| config/c-library.m4 | modified | +5 −5 |
| configure | modified | +5 −33 |
| configure.in | modified | +1 −7 |
| src/backend/libpq/ifaddr.c | modified | +0 −2 |
| src/bin/psql/command.c | modified | +0 −2 |
| src/include/libpq/libpq-be.h | modified | +0 −2 |
| src/include/pg_config.h.in | modified | +0 −15 |
| src/include/pg_config.h.win32 | modified | +0 −12 |