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

Re: added pkg-config script

From: phoemix(at)harmless(dot)hu (Czuczy Gergely)
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: added pkg-config script
Date: 2004-08-22 18:15:39
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
I've attached a corrected patch, the was missing.

On Sun, Aug 22, 2004 at 01:49:08PM -0400, Tom Lane wrote:
> phoemix(at)harmless(dot)hu (Czuczy Gergely) writes:
> > I've added a pkg-config script.
> > The "diff -rc -x configure from to" output is attached.
> Considering that this patch is lacking both the script itself, and any
> documentation, it's not got much hope of being accepted...
What kind of documentation does it need? i don't see.

> But before you run off to produce those things, I would suggest
> putting up a proposal on pghackers about what you want to do
> and why.  In particular, what problem are you solving that isn't
The most common way to get a package's libflags and cflags is the solution
that pkg-config offers. the problem with pg_config that it's not in the path,
it's place depends on the prefix, so to use it required an extra effort.
pkg-config is a standardized way to check for a package's libs and cflags.
The patch I've made adds the generation of this script, and extends the Makefiles
to install them. The place of this .pc (Pkg-Config) file is at /usr/lib/pkgconfig/,
but with the patch it can be altered with --with-pkgconfig-dir.
> already solved?
I haven't seen any pkg-config support in postgres, so, I've assumed
it hasn't been solved.

> 			regards, tom lane


Gergely Czuczy
mailto: phoemix(at)harmless(dot)hu

Weenies test. Geniuses solve problems that arise.

In response to


pgsql-patches by date

Next:From: Stephan SzaboDate: 2004-08-22 18:39:38
Subject: Re: added pkg-config script
Previous:From: Andrew DunstanDate: 2004-08-22 17:54:12
Subject: Re: pg_hba.conf and IP-MASK

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