File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.33 2007/03/17 14:30:00 mha Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.34 2007/03/17 17:11:41 mha Exp $ -->
2
2
3
3
<chapter id="install-win32">
4
4
<title>Installation on <productname>Windows</productname></title>
100
100
<productname>Flex</productname></term>
101
101
<listitem><para>
102
102
Bison and Flex are required to build from CVS, but not required when
103
- building from a release file. Note that Bison version 2.0 will not
104
- work, but both earlier and later versions do . Bison and Flex can be
103
+ building from a release file. Note that only Bison 1.875 or versions
104
+ 2.2 and later will work . Bison and Flex can be
105
105
downloaded from <ulink url="http://gnuwin32.sourceforge.net"></>.
106
106
</para></listitem>
107
107
</varlistentry>
Original file line number Diff line number Diff line change 1
1
@ echo off
2
- REM $PostgreSQL: pgsql/src/tools/msvc/pgbison.bat,v 1.5 2007/03/17 14:01:01 mha Exp $
2
+ REM $PostgreSQL: pgsql/src/tools/msvc/pgbison.bat,v 1.6 2007/03/17 17:11:41 mha Exp $
3
3
4
4
if exist src\tools\msvc\buildenv.bat call src\tools\msvc\buildenv.bat
5
5
6
6
SET BV =
7
7
for /F " tokens=4 usebackq" %%f in (`bison -V`) do if " !BV! " == " " SET BV = %%f
8
8
if " %BV% " == " " goto novarexp
9
- if %BV% LSS 1.875 goto nobison
10
- if %BV% EQU 2.1 goto nobison
9
+ if %BV% EQU 1.875 goto bisonok
10
+ if %BV% GEQ 2.2 goto bisonok
11
+ goto nobison
12
+ :bisonok
11
13
12
14
if " %1 " == " src\backend\parser\gram.y" call :generate %1 src\backend\parser\gram.c src\include\parser\parse.h
13
15
if " %1 " == " src\backend\bootstrap\bootparse.y" call :generate %1 src\backend\bootstrap\bootparse.c src\backend\bootstrap\bootstrap_tokens.h
You can’t perform that action at this time.
0 commit comments