From 7c31742a07c7fa311b0c78c598066944db1ca900 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 29 Aug 2008 13:02:33 +0000 Subject: 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. --- doc/src/sgml/installation.sgml | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index c787a313882..a5dfa8d0810 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ - + <![%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> -- cgit v1.2.3