aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bison.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/bison.xml')
-rw-r--r--chapter06/bison.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/bison.xml b/chapter06/bison.xml
index f0b3d3fec..d5fb0ae82 100644
--- a/chapter06/bison.xml
+++ b/chapter06/bison.xml
@@ -32,6 +32,13 @@ GCC, Gettext, Glibc, Grep, M4, Make, and Sed</seg></seglistitem>
<screen><userinput>./configure --prefix=/usr</userinput></screen>
+<para>The configure system causes bison to be built without support for
+internationalization of error messages if a <command>bison</command>
+program is not already in $PATH. The following addition will correct
+this.</para>
+
+<screen>echo '#define YYENABLE_NLS 1' >> config.h</screen>
+
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>