where
the server would search for them. (Other
architecture-dependent data files might also be installed in this
directory.)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--localedir</option></term>
<listitem>
<para>
Print the location of locale support files. (This will be an empty
string if locale support was not configured when
<productname>PostgreSQL</productname> was built.)
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--mandir</option></term>
<listitem>
<para>
Print the location of manual pages.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--sharedir</option></term>
<listitem>
<para>
Print the location of architecture-independent support files.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--sysconfdir</option></term>
<listitem>
<para>
Print the location of system-wide configuration files.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--pgxs</option></term>
<listitem>
<para>
Print the location of extension makefiles.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--configure</option></term>
<listitem>
<para>
Print the options that were given to the <filename>configure</filename>
script when <productname>PostgreSQL</productname> was configured for building.
This can be used to reproduce the identical configuration, or
to find out with what options a binary package was built. (Note
however that binary packages often contain vendor-specific custom
patches.) See also the examples below.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--cc</option></term>
<listitem>
<para>
Print the value of the <varname>CC</varname> variable that was used for building
<productname>PostgreSQL</productname>. This shows the C compiler used.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--cppflags</option></term>
<listitem>
<para>
Print the value of the <varname>CPPFLAGS</varname> variable that was used for building
<productname>PostgreSQL</productname>. This shows C compiler switches needed
at preprocessing time (typically, <literal>-I</literal> switches).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--cflags</option></term>
<listitem>
<para>
Print the value of the <varname>CFLAGS</varname> variable that was used for building
<productname>PostgreSQL</productname>. This shows C compiler switches.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--cflags_sl</option></term>
<listitem>
<para>
Print the value of the <varname>CFLAGS_SL</varname> variable that was used for building
<productname>PostgreSQL</productname>. This shows extra C compiler switches
used for building shared libraries.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--ldflags</option></term>