diff options
Diffstat (limited to 'chapter05/ncurses.xml')
-rw-r--r-- | chapter05/ncurses.xml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml index 18da06aec..2db0a770c 100644 --- a/chapter05/ncurses.xml +++ b/chapter05/ncurses.xml @@ -45,8 +45,13 @@ <para>Prepare Ncurses for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/tools --with-shared \ - --without-debug --without-ada --enable-overwrite</userinput></screen> +<screen><userinput remap="configure"> +./configure --prefix=/tools \ + --with-shared \ + --without-debug \ + --without-ada \ + --enable-widec \ + --enable-overwrite</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> @@ -71,6 +76,20 @@ </listitem> </varlistentry> + <varlistentry> + <term><parameter>--enable-widec</parameter></term> + <listitem> + <para>This switch causes wide-character libraries (e.g., <filename + class="libraryfile">libncursesw.so.&ncurses-version;</filename>) + to be built instead of normal ones (e.g., <filename + class="libraryfile">libncurses.so.&ncurses-version;</filename>). + These wide-character libraries are usable in both multibyte and + traditional 8-bit locales, while normal libraries work properly + only in 8-bit locales. Wide-character and normal libraries are + source-compatible, but not binary-compatible.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> |