Browse Source

Make bison build repeatably.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7263 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Ken Moffat 19 years ago
parent
commit
2debf13d30
2 changed files with 12 additions and 0 deletions
  1. 5 0
      chapter01/changelog.xml
  2. 7 0
      chapter06/bison.xml

+ 5 - 0
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>

+ 7 - 0
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>