Extend pg_config to be able to report the build-time values of CC,
Tom Lane <tgl@sss.pgh.pa.us>
Extend pg_config to be able to report the build-time values of CC, CPPFLAGS, CFLAGS, CFLAGS_SL, LDFLAGS, LDFLAGS_SL, and LIBS. Change it so that invoking pg_config with no arguments reports all available information, rather than just giving an error message. Per discussion.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_config-ref.sgml | modified | +89 −15 |
| src/bin/pg_config/Makefile | modified | +14 −2 |
| src/bin/pg_config/pg_config.c | modified | +268 −63 |
| src/bin/pg_config/win32.mak | modified | +1 −1 |