Re: finding lib/include dirs - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: finding lib/include dirs
Date
Msg-id Pine.LNX.4.21.0006301704180.347-100000@localhost.localdomain
Whole thread Raw
In response to finding lib/include dirs  ("Timothy H. Keitt" <keitt@nceas.ucsb.edu>)
List 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@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




pgsql-hackers by date:

Previous
From: Brook Milligan
Date:
Subject: Re: Installation layout
Next
From: The Hermit Hacker
Date:
Subject: Re: Modified pg_dump & new pg_restore need testing...