1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Remove all traces that suggest that a non-Bison yacc might be supported, and

change build system to use only Bison.  Simplify build rules, make file names
uniform.  Don't build the token table header file where it is not needed.
This commit is contained in:
Peter Eisentraut
2008-08-29 13:02:33 +00:00
parent a2794623d2
commit 7c31742a07
28 changed files with 144 additions and 185 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.311 2008/07/23 17:07:50 petere Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.312 2008/08/29 13:02:32 petere Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@ -276,6 +276,9 @@ su - postgres
<indexterm>
<primary>flex</primary>
</indexterm>
<indexterm>
<primary>lex</primary>
</indexterm>
<indexterm>
<primary>bison</primary>
</indexterm>
@ -287,10 +290,8 @@ su - postgres
are needed to build a CVS checkout or if you changed the actual
scanner and parser definition files. If you need them, be sure
to get <application>Flex</> 2.5.4 or later and
<application>Bison</> 1.875 or later. Other <application>yacc</>
programs can sometimes be used, but doing so requires extra
effort and is not recommended. Other <application>lex</>
programs will definitely not work.
<application>Bison</> 1.875 or later. Other <application>lex</>
and <application>yacc</> programs cannot be used.
</para>
</listitem>
</itemizedlist>
@ -1341,6 +1342,15 @@ su - postgres
this manner:
<variablelist>
<varlistentry>
<term><envar>BISON</envar></term>
<listitem>
<para>
Bison program
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>CC</envar></term>
<listitem>
@ -1395,6 +1405,15 @@ su - postgres
</listitem>
</varlistentry>
<varlistentry>
<term><envar>FLEX</envar></term>
<listitem>
<para>
Flex program
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>LDFLAGS</envar></term>
<listitem>
@ -1462,15 +1481,6 @@ su - postgres
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>YACC</envar></term>
<listitem>
<para>
Yacc program (<literal>bison -y</literal> if using Bison)
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</step>