summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-12-04 03:52:29 +0000
committerBruce Momjian <bruce@momjian.us>2005-12-04 03:52:29 +0000
commit10e3d224e06cfe2bea634016a0786352c06b801f (patch)
treeafd54a08b719d0011cd15117a12d56021969c3f6 /doc/src
parente4a9229d5512852c7cb73988644ae39894e8ff1d (diff)
Add configure flag to allow libedit to be preferred over GNU readline:
--with-libedit-preferred prefer BSD Libedit over GNU Readline
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/installation.sgml38
1 files changed, 26 insertions, 12 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index d60e5554f38..ab57f11f0a8 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.249 2005/11/05 00:04:04 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.250 2005/12/04 03:52:29 momjian Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -50,7 +50,7 @@ su - postgres
<para>
In general, a modern Unix-compatible platform should be able to run
<productname>PostgreSQL</>.
- The platforms that had received specific testing at the
+ The platforms that had received specific testing at the
time of release are listed in <xref linkend="supported-platforms">
below. In the <filename>doc</> subdirectory of the distribution
there are several platform-specific <acronym>FAQ</> documents you
@@ -107,16 +107,20 @@ su - postgres
</indexterm>
The <acronym>GNU</> <productname>Readline</> library (for
- comfortable line editing and command history retrieval) will be
- used by default. If you don't want to use it then you must
- specify the <option>--without-readline</option> option for
- <filename>configure</>. (On <productname>NetBSD</productname>,
- the <filename>libedit</filename> library is
- <productname>Readline</productname>-compatible and is used if
- <filename>libreadline</filename> is not found.) If you are using
- a package-based Linux distribution, be aware that you need both
- the <literal>readline</> and <literal>readline-devel</> packages,
- if those are separate in your distribution.
+ simple line editing and command history retrieval) is
+ used by default. If you don't want to use it then you must specify
+ the <option>--without-readline</option> option for
+ <filename>configure</>. As an alternative, you can often use the
+ BSD-licensed <filename>libedit</filename> library, originally
+ developed on <productname>NetBSD</productname>. The
+ <filename>libedit</filename> library is
+ GNU <productname>Readline</productname>-compatible and is used if
+ <filename>libreadline</filename> is not found, or if
+ <option>--with-libedit-preferred</option> is used as an
+ option to <filename>configure</>. If you are using a package-based
+ Linux distribution, be aware that you need both the
+ <literal>readline</> and <literal>readline-devel</> packages, if
+ those are separate in your distribution.
</para>
</listitem>
@@ -858,6 +862,16 @@ su - postgres
</varlistentry>
<varlistentry>
+ <term><option>--with-libedit-preferred</option></term>
+ <listitem>
+ <para>
+ Favors the use of the BSD-licensed <application>libedit</> library
+ rather than GPL-licensed <application>Readline</>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--without-readline</option></term>
<listitem>
<para>