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