Re: BUG #2585: Please provide pkg-config support - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #2585: Please provide pkg-config support
Date
Msg-id 20060822185754.GF25475@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #2585: Please provide pkg-config support  ("Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>)
Responses Re: BUG #2585: Please provide pkg-config support
List pgsql-bugs
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                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: "Luiz Henrique"
Date:
Subject: Re: referential integrity violation - key referenced from
Next
From: Douglas Toltzman
Date:
Subject: Re: BUG #2587: Connection problem