Re: pg_config --configure ... - Mailing list pgsql-hackers

From Brett Schwarz
Subject Re: pg_config --configure ...
Date
Msg-id 20050609030012.8194.qmail@web40608.mail.yahoo.com
Whole thread Raw
In response to pg_config --configure ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Responses Re: pg_config --configure ...
List pgsql-hackers
I usually just look at config.log, and copy and
paste...but I am guessing you are trying to automate
this. Looks like pg_config adds '' around each option
when specifying --configure (i.e. '--with-libraries'),
at least on my system (Linux, PG803). You can try to
get rid of the ''. This seems to work on my system:

./configure `pg_config --configure | tr "'" " "`

I'm not a shell guru by any means, so there might be a
better way...



--- "Marc G. Fournier" <scrappy@postgresql.org> wrote:

> 
> How are ppl using this?  I'm trying to use it to
> re-configure, having 
> tried both tcsh and bash, and neither seem to
> 'work':
> 
> # ./configure `pg_config --configure`
> configure: error: invalid variable name:
> '--with-libraries
> 
> So, is there another way I can use the output from
> pg_config to pass to 
> configure?
> 
> Thanks ...
> 
> ----
> Marc G. Fournier           Hub.Org Networking
> Services (http://www.hub.org)
> Email: scrappy@hub.org           Yahoo!: yscrappy   
>           ICQ: 7615664
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
> 


--brett

    
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: pg_config --configure ...
Next
From: "Qingqing Zhou"
Date:
Subject: Re: adding new pages bulky way