Re: small proposal: pg_config record flag variables?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: small proposal: pg_config record flag variables?
Date: 2005-08-14 21:47:06
Message-ID: 3926.1124056026@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Am Dienstag, 9. August 2005 20:49 schrieb Tom Lane:
>> 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.

> If you put these flags onto the configure command line, then they are
> recorded. E.g.:

> $ ./pg_config --configure
> '--prefix=/home/peter/devel/pg81/pg-install' 'CFLAGS=-W'

Sure, but people frequently do not do it that way. The point of my
proposal was to make sure we could find out the flags actually used
after-the-fact, whether or not config.log is still around.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-08-14 21:48:14 Re: prevent encoding conversion recursive error
Previous Message Peter Eisentraut 2005-08-14 21:12:23 Re: small proposal: pg_config record flag variables?