2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00

Prevent use of yacc in Solaris/SunOS as it causes parse overflow errors in the grammar.

[SVN r19098]
This commit is contained in:
Rene Rivera
2003-07-13 17:11:55 +00:00
parent 6c87d04d06
commit 03d3cfd132

View File

@@ -440,7 +440,11 @@ if $(NT)
}
SUFEXE ?= "" ;
yacc ?= [ GLOB $(PATH) : yacc$(SUFEXE) ] ;
# On some systems yacc is insufficient to build the grammar.
if ! ( $(OS) in SOLARIS SUNOS )
{
yacc ?= [ GLOB $(PATH) : yacc$(SUFEXE) ] ;
}
yacc ?= [ GLOB $(PATH) : bison$(SUFEXE) ] ;
yacc ?= [ GLOB "C:\\Program Files\\GnuWin32\\bin" : bison$(SUFEXE) ] ;
yacc = $(yacc[1]) ;