small proposal: pg_config record flag variables?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: small proposal: pg_config record flag variables?
Date: 2005-08-09 18:49:05
Message-ID: 18064.1123613345@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Karsten Hilbert 2005-08-09 19:19:56 Re: Testing of MVCC
Previous Message Bruce Momjian 2005-08-09 18:32:46 Re: #escape_string_warning = off