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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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