Re: small proposal: pg_config record flag variables? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: small proposal: pg_config record flag variables?
Date
Msg-id 42F90243.507@dunslane.net
Whole thread Raw
In response to small proposal: pg_config record flag variables?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: small proposal: pg_config record flag variables?
List pgsql-hackers

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: small proposal: pg_config record flag variables?
Next
From: Tom Lane
Date:
Subject: Re: small proposal: pg_config record flag variables?