Fix problems with PGXS builds against an installation tree that was

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4fc935a5d47d40aac5b1ecf51aa5beaab03e8f76
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-09-27T17:39:35Z
Releases: 8.1.0
Fix problems with PGXS builds against an installation tree that was
relocated after installation.  We can't trust the installation paths
inserted into Makefile.global by configure, so instead we must get the
paths from pg_config.  This requires extending pg_config to support all
the separately-configurable path names, but that was on TODO anyway.

Files

PathChange+/−
doc/src/sgml/ref/pg_config-ref.sgml modified +60 −3
src/bin/pg_config/pg_config.c modified +79 −1
src/bin/pg_config/win32.mak modified +2 −0
src/bin/psql/bcc32.mak modified +2 −0
src/bin/psql/win32.mak modified +2 −0
src/include/port.h modified +3 −1
src/Makefile.global.in modified +33 −12
src/port/Makefile modified +3 −1
src/port/path.c modified +19 −1