aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/readline.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/chapter06/readline.xml b/chapter06/readline.xml
index 7f5b2191a..bcefab042 100644
--- a/chapter06/readline.xml
+++ b/chapter06/readline.xml
@@ -53,8 +53,24 @@ sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput></screen>
<screen><userinput remap="configure">./configure --prefix=/usr \
--disable-static \
+ --with-curses \
--docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
+ <variablelist>
+ <title>The meaning of the configure option:</title>
+
+ <varlistentry>
+ <term><parameter>--with-curses"</parameter></term>
+ <listitem>
+ <para>This option tells Readline that it can find the termcap
+ library functions in the curses library, rather than a separate
+ termcap library. It allows generating a correct
+ <filename>readline.pc</filename> file.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make SHLIB_LIBS="-L/tools/lib -lncursesw"</userinput></screen>