Tom Lane wrote:
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?
I would be tempted to have one flag called, say, --build-env which has all the interesting settings from the build environment in one hit.
cheers andrew ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend