mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
bc: enable readline
Using readline can improve line editing feature of bc, but it's not enabled by default. As readline is already installed before bc, let's pick up this improvement with no cost.
This commit is contained in:
parent
c500323f9b
commit
e909a1ebdf
@ -244,7 +244,7 @@
|
||||
<segmentedlist id="bc-depends">
|
||||
<segtitle>&dependencies;</segtitle>
|
||||
<seglistitem>
|
||||
<seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, and Make</seg>
|
||||
<seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Readline</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
@ -2615,7 +2615,7 @@
|
||||
<segmentedlist id="readline-before">
|
||||
<segtitle>&before;</segtitle>
|
||||
<seglistitem>
|
||||
<seg>Bash and Gawk</seg>
|
||||
<seg>Bash, Bc, and Gawk</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
|
||||
<para>Prepare Bc for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">CC=gcc ./configure --prefix=/usr -G -O3</userinput></screen>
|
||||
<screen><userinput remap="configure">CC=gcc ./configure --prefix=/usr -G -O3 -r</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the configure options:</title>
|
||||
@ -55,6 +55,14 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>-G</parameter></term>
|
||||
<listitem>
|
||||
<para>Omit parts of the test suite that won't work
|
||||
without a GNU bc present.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>-O3</parameter></term>
|
||||
<listitem>
|
||||
@ -63,10 +71,10 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>-G</parameter></term>
|
||||
<term><parameter>-r</parameter></term>
|
||||
<listitem>
|
||||
<para>Omit parts of the test suite that won't work
|
||||
without a GNU bc present.</para>
|
||||
<para>Enable the use of <application>Readline</application> to
|
||||
improve the line editing feature of bc.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
Loading…
Reference in New Issue
Block a user