</listitem>
</varlistentry>
</variablelist>
</sect3>
<sect3 id="configure-options-anti-features">
<title>Anti-Features</title>
<para>
The options described in this section allow disabling
certain <productname>PostgreSQL</productname> features that are built
by default, but which might need to be turned off if the required
software or system features are not available. Using these options is
not recommended unless really necessary.
</para>
<variablelist>
<varlistentry id="configure-option-without-icu">
<term><option>--without-icu</option></term>
<listitem>
<para>
Build without support for the
<productname>ICU</productname><indexterm><primary>ICU</primary></indexterm>
library, disabling the use of ICU collation features (see <xref
linkend="collation"/>).
</para>
</listitem>
</varlistentry>
<varlistentry id="configure-option-without-readline">
<term><option>--without-readline</option></term>
<listitem>
<para>
Prevents use of the <application>Readline</application> library
(and <application>libedit</application> as well). This option disables
command-line editing and history in
<application>psql</application>.
</para>
</listitem>
</varlistentry>
<varlistentry id="configure-option-with-libedit-preferred">
<term><option>--with-libedit-preferred</option></term>
<listitem>
<para>
Favors the use of the BSD-licensed <application>libedit</application> library
rather than GPL-licensed <application>Readline</application>. This option
is significant only if you have both libraries installed; the
default in that case is to use <application>Readline</application>.
</para>
</listitem>
</varlistentry>
<varlistentry id="configure-option-without-zlib">
<term><option>--without-zlib</option></term>
<listitem>
<para>
<indexterm>
<primary>zlib</primary>
</indexterm>
Prevents use of the <application>Zlib</application> library.
This disables
support for compressed archives in <application>pg_dump</application>
and <application>pg_restore</application>.
</para>
</listitem>
</varlistentry>
</variablelist>
</sect3>
<sect3 id="configure-options-build-process">
<title>Build Process Details</title>
<variablelist>
<varlistentry id="configure-option-with-includes">
<term><option>--with-includes=<replaceable>DIRECTORIES</replaceable></option></term>
<listitem>
<para>
<replaceable>DIRECTORIES</replaceable> is a colon-separated list of
directories that will be added to the list the compiler
searches for header files. If you have optional packages
(such as GNU <application>Readline</application>) installed in a non-standard
location,
you have to use this option and probably also the corresponding
<option>--with-libraries</option> option.
</para>
<para>
Example: <literal>--with-includes=/opt/gnu/include:/usr/sup/include</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry id="configure-option-with-libraries">
<term><option>--with-libraries=<replaceable>DIRECTORIES</replaceable></option></term>
<listitem>
<para>
<replaceable>DIRECTORIES</replaceable> is a colon-separated list of
directories to search for libraries. You will probably have
to use this option (and the corresponding
<option>--with-includes</option> option) if you have packages
installed in non-standard locations.
</para>
<para>
Example: <literal>--with-libraries=/opt/gnu/lib:/usr/sup/lib</literal>.
</para>