diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index ebdb5b3bc2d..c583c256858 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -2463,12 +2463,7 @@ ninja install
Build with support for GSSAPI authentication. MIT Kerberos is required
- to be installed for GSSAPI. On many systems, the GSSAPI system (a part
- of the MIT Kerberos installation) is not installed in a location
- that is searched by default (e.g., /usr/include,
- /usr/lib). In
- those cases, PostgreSQL will query pkg-config to
- detect the required compiler and linker options. Defaults to auto.
+ to be installed for GSSAPI. Defaults to auto.
meson configure will check for the required
header files and libraries to make sure that your GSSAPI installation
is sufficient before proceeding.
@@ -2589,12 +2584,6 @@ ninja install
Build with libxml2, enabling SQL/XML support. Defaults to
auto. Libxml2 version 2.6.23 or later is required for this feature.
-
-
- To use a libxml2 installation that is in an unusual location, you
- can set pkg-config-related environment
- variables (see its documentation).
-
@@ -3174,6 +3163,43 @@ ninja install
&targets-meson;
+
+ Steps to use libraries installed in an unusual location
+
+
+ PostgreSQL will query pkg-config to detect the required compiler and linker options.
+ To use modules installed in an unusual location, set pkg-config-related
+ environment variables (see its documentation). For example, if you want to add
+ the library to the PostgreSQL build, add the directory where the .pc file resides
+ to PKG_CONFIG_PATH.
+
+ Sample procedures to include libraries for PostgreSQL build are as follows:
+
+
+
+
+ Building and Installation library
+
+ Check the path where the .pc file (e.g.libxml-2.0.pc) is created.
+
+
+
+ Add path to .pc directory to PKG_CONFIG_PATH
+
+
+
+
+ Building and Installation PostgreSQL with Meson
+
+
+meson setup build
+
+
+
+
+
+
+