Skip site navigation (1) Skip section navigation (2)

Re: BUG #2585: Please provide pkg-config support

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Manuel A(dot) Fernandez Montecelo" <manuel(dot)montezelo(at)gmail(dot)com>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2585: Please provide pkg-config support
Date: 2006-08-22 18:57:54
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugspgsql-hackers
Manuel A. Fernandez Montecelo wrote:
> Well, I use around 10 libraries in my project, it's easier to use standardized 
> methods to gather the compiler/linker options using pkg-config than calling 
> different configuration scripts for each one, and using "pkg-config --exists 
> $name" or "pkg-config --at-least=1.0 $name" than to check whether 
> the "pg_config" script (and so with the rest) exists in your path, and 
> figuring out ways to compare versions.  I was reporting it as a wish-list 
> item after all :)

Just FYI, this was proposed and rejected before.  pg_config is our
method.  It doesn't seem like too onerous a requeriment to change "pkg-"
to "pg_", is it?

The --at-least= or similar stuff may be useful though, not sure.

Alvaro Herrera                      
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to


pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2006-08-22 19:36:30
Subject: Re: [HACKERS] COPY view
Previous:From: Mark DilgerDate: 2006-08-22 18:56:17
Subject: Re: An Idea for planner hints

pgsql-bugs by date

Next:From: Tom LaneDate: 2006-08-22 20:24:36
Subject: Re: BUG #2585: Please provide pkg-config support
Previous:From: Douglas ToltzmanDate: 2006-08-22 18:37:56
Subject: Re: BUG #2587: Connection problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group