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

Don't look for 'yacc' without an '.exe' extension on NT, because we

might find the Cygwin script which isn't executable through the NT
shell.


[SVN r18404]
This commit is contained in:
Dave Abrahams
2003-05-15 20:07:44 +00:00
parent 21ea3db0f5
commit deb8e8562a
2 changed files with 16 additions and 4 deletions

View File

@@ -376,8 +376,14 @@ actions .yyacc
.yyacc jamgram.y jamgramtab.h : jamgram.yy ;
# How to build the grammar.
yacc ?= [ GLOB $(PATH) : yacc yacc.exe ] ;
yacc ?= [ GLOB $(PATH) : bison bison.exe ] ;
if $(NT)
{
local SUFEXE = .exe ;
}
SUFEXE ?= "" ;
yacc ?= [ GLOB $(PATH) : yacc$(SUFEXE) ] ;
yacc ?= [ GLOB $(PATH) : bison$(SUFEXE) ] ;
yacc = $(yacc[1]) ;
switch $(yacc:D=:S=)
{

View File

@@ -376,8 +376,14 @@ actions .yyacc
.yyacc jamgram.y jamgramtab.h : jamgram.yy ;
# How to build the grammar.
yacc ?= [ GLOB $(PATH) : yacc yacc.exe ] ;
yacc ?= [ GLOB $(PATH) : bison bison.exe ] ;
if $(NT)
{
local SUFEXE = .exe ;
}
SUFEXE ?= "" ;
yacc ?= [ GLOB $(PATH) : yacc$(SUFEXE) ] ;
yacc ?= [ GLOB $(PATH) : bison$(SUFEXE) ] ;
yacc = $(yacc[1]) ;
switch $(yacc:D=:S=)
{