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

Optionally use xml2-config to detect installation locations of libxml.

This commit is contained in:
Peter Eisentraut
2007-01-18 14:07:31 +00:00
parent 020841071b
commit 16f372d940
3 changed files with 97 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.271 2007/01/07 21:10:41 petere Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.272 2007/01/18 14:07:31 petere Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@ -912,6 +912,18 @@ su - postgres
Build with libxml (enables SQL/XML support). Libxml version 2.6.23 or
later is required for this feature.
</para>
<para>
Libxml installs a program <command>xml2-config</command> that
can be used to detect the required compiler and linker
options. PostgreSQL will use it automatically if found. To
specify a libxml installation at an unusual location, you can
either set the environment variable
<envar>XML2_CONFIG</envar> to point to the
<command>xml2-config</command> program belonging to the
installation, or use the options
<option>--with-includes</option> and
<option>--with-libraries</option>.
</listitem>
</varlistentry>
@ -1202,6 +1214,16 @@ su - postgres
</listitem>
</varlistentry>
<varlistentry>
<term><envar>XML2_CONFIG</envar></term>
<listitem>
<para>
<command>xml2-config</command> program used to locate the
libxml installation.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>YACC</envar></term>
<listitem>