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

From: "Manuel A(dot) Fernandez Montecelo" <manuel(dot)montezelo(at)gmail(dot)com>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2585: Please provide pkg-config support
Date: 2006-08-21 16:59:56
Message-ID: 200608211859.56473.manuel.montezelo@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers


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 :)

Greetings.

On Monday 21 August 2006 16:44, Stefan Kaltenbrunner wrote:
> mafm(at)users(dot)sourceforge(dot)net wrote:
> > The following bug has been logged online:
> >
> > Bug reference: 2585
> > Logged by:
> > Email address: mafm(at)users(dot)sourceforge(dot)net
> > PostgreSQL version: 8.1.4
> > Operating system: GNU/Linux
> > Description: Please provide pkg-config support
> > Details:
> >
> > I haven't found a suitable place to put this wish-list item, and since
> > most projects manage these along with bug in trackers, here we go...
> >
> > I'd like you to provide a pkg-config file, so people can use pkg-config
> > to gather the neccesary compiler flags to build and link against libpq
> > libraries.
>
> whats wrong with using pg_config ?
>
>
> Stefan

--
Manuel A. Fernandez Montecelo <manuel(dot)montezelo(at)gmail(dot)com>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Josh Berkus 2006-08-21 17:48:35 Re: Handling of \ in array data display
Previous Message Magnus Hagander 2006-08-21 14:45:33 Re: BUG #2586: Connecting problem

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2006-08-21 17:02:48 Re: Replication
Previous Message Bruce Momjian 2006-08-21 16:53:10 Re: psql 'none' as a HISTFILE special case