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

Re: finding lib/include dirs

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Timothy H(dot) Keitt" <keitt(at)nceas(dot)ucsb(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: finding lib/include dirs
Date: 2000-06-30 16:22:50
Message-ID: Pine.LNX.4.21.0006301704180.347-100000@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-hackers
Timothy H. Keitt writes:

> It would be convenient if there were a small utility distributed with
> postgresql that would report the location of the library and include
> directories a la gnome-config.

I'm not familiar with gnome-config. Do you mean like this:

$ sh pg-config.sh
pg_includedir=/usr/local/pgsql/include
pg_libdir=/usr/local/pgsql/lib

How would you find that script? Would you expect it in in the path?

We could also provide an Autoconf macro a la AC_PATH_X (perhaps as a
wrapper around pg-config.sh).


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e(at)gmx(dot)net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



In response to

pgsql-hackers by date

Next:From: The Hermit HackerDate: 2000-06-30 16:53:36
Subject: Re: Modified pg_dump & new pg_restore need testing...
Previous:From: Brook MilliganDate: 2000-06-30 15:21:50
Subject: Re: Installation layout

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