aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Moffat <ken@linuxfromscratch.org>2006-01-10 22:08:36 +0000
committerKen Moffat <ken@linuxfromscratch.org>2006-01-10 22:08:36 +0000
commit2debf13d303bb84645a283d7bf812d81972400de (patch)
tree6f85c49a10a992d3fa8a1ba9d194e7e054e1d52a
parent3154d10b5789ba5a19cf90ed46a564e2f363b604 (diff)
Make bison build repeatably.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7263 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter06/bison.xml7
2 files changed, 12 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 2d72d6d90..62ba02e7c 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -124,6 +124,11 @@ First a summary, then a detailed log.</para>
</itemizedlist>
</listitem>
+<listitem><para>January 10, 2006 [ken]: define YYENABLE_NLS in bison, to
+resolve a code difference shown up by Iterative Comparison Analysis.
+Thanks to Greg Schafer.</para>
+</listitem>
+
<listitem><para>January 10, 2006 [ken]: Revert my move of mktemp and add a
sed to correct gccbug.</para>
</listitem>
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>