1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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.
This commit is contained in:
Tom Lane
2005-09-27 17:39:35 +00:00
parent 2d8225eecc
commit 4fc935a5d4
9 changed files with 203 additions and 19 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_config-ref.sgml,v 1.21 2005/08/09 22:47:03 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_config-ref.sgml,v 1.22 2005/09/27 17:39:32 tgl Exp $ -->
<refentry id="app-pgconfig">
<refmeta>
@ -53,6 +53,17 @@
</listitem>
</varlistentry>
<varlistentry>
<term><option>--docdir</option></>
<listitem>
<para>
Print the location of documentation files. (This will be an empty
string if <literal>--without-docdir</> was specified when
<productname>PostgreSQL</> was built.)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--includedir</option></>
<listitem>
@ -62,12 +73,20 @@
</listitem>
</varlistentry>
<varlistentry>
<term><option>--pkgincludedir</option></>
<listitem>
<para>
Print the location of other C header files.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--includedir-server</option></>
<listitem>
<para>
Print the location of C header files for server
programming.
Print the location of C header files for server programming.
</para>
</listitem>
</varlistentry>
@ -93,6 +112,44 @@
</listitem>
</varlistentry>
<varlistentry>
<term><option>--localedir</option></>
<listitem>
<para>
Print the location of locale support files. (This will be an empty
string if locale support was not configured when
<productname>PostgreSQL</> was built.)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--mandir</option></>
<listitem>
<para>
Print the location of manual pages.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--sharedir</option></>
<listitem>
<para>
Print the location of architecture-independent support files.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--sysconfdir</option></>
<listitem>
<para>
Print the location of system-wide configuration files.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--pgxs</option></>
<listitem>