<term><option>--libdir=<replaceable>DIRECTORY</replaceable></option></term>
<listitem>
<para>
Sets the location to install libraries and dynamically loadable
modules. The default is
<filename><replaceable>PREFIX</replaceable>/lib</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry id="configure-includedir-meson">
<term><option>--includedir=<replaceable>DIRECTORY</replaceable></option></term>
<listitem>
<para>
Sets the directory for installing C and C++ header files. The
default is <filename><replaceable>PREFIX</replaceable>/include</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry id="configure-datadir-meson">
<term><option>--datadir=<replaceable>DIRECTORY</replaceable></option></term>
<listitem>
<para>
Sets the directory for read-only data files used by the
installed programs. The default is
<filename><replaceable>PREFIX</replaceable>/share</filename>. Note that this has
nothing to do with where your database files will be placed.
</para>
</listitem>
</varlistentry>
<varlistentry id="configure-localedir-meson">
<term><option>--localedir=<replaceable>DIRECTORY</replaceable></option></term>
<listitem>
<para>
Sets the directory for installing locale data, in particular
message translation catalog files. The default is
<filename><replaceable>DATADIR</replaceable>/locale</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry id="configure-mandir-meson">
<term><option>--mandir=<replaceable>DIRECTORY</replaceable></option></term>
<listitem>
<para>
The man pages that come with <productname>PostgreSQL</productname> will be installed under
this directory, in their respective
<filename>man<replaceable>x</replaceable></filename> subdirectories.
The default is <filename><replaceable>DATADIR</replaceable>/man</filename>.
</para>
</listitem>
</varlistentry>
</variablelist>
<note>
<para>
Care has been taken to make it possible to install
<productname>PostgreSQL</productname> into shared installation locations
(such as <filename>/usr/local/include</filename>) without
interfering with the namespace of the rest of the system. First,
the string <quote><literal>/postgresql</literal></quote> is
automatically appended to <varname>datadir</varname>,
<varname>sysconfdir</varname>, and <varname>docdir</varname>,
unless the fully expanded directory name already contains the
string <quote><literal>postgres</literal></quote> or
<quote><literal>pgsql</literal></quote>. For example, if you choose
<filename>/usr/local</filename> as prefix, the documentation will
be installed in <filename>/usr/local/doc/postgresql</filename>,
but if the prefix is <filename>/opt/postgres</filename>, then it
will be in <filename>/opt/postgres/doc</filename>. The public C
header files of the client interfaces are installed into
<varname>includedir</varname> and are namespace-clean. The
internal header files and the server header files are installed
into private directories under <varname>includedir</varname>. See
the documentation of each interface for information about how to
access its header files. Finally, a private subdirectory will
also be created, if appropriate, under <varname>libdir</varname>
for dynamically loadable modules.
</para>
</note>
</sect3>
<sect3 id="meson-options-features">
<title><productname>PostgreSQL</productname> Features</title>
<para>
The options described in this section enable building of
various optional <productname>PostgreSQL</productname>