Currently, pg_config will tell about the configure options that were
used, but it does not let you find out if any environment variables were
used to determine CC, CFLAGS, etc. More than once I've found myself
wanting to verify that information about an installation. So I'm
considering adding options to pg_config to record the more interesting
Makefile variables:
pg_config --cc
pg_config --cppflags
pg_config --cflags
pg_config --cflags_sl
pg_config --ldflags
pg_config --ldflags_sl
pg_config --libs
Comments? Are these option names okay, or do they need to be more
verbose? Any other settings worth recording?
regards, tom lane