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:
@@ -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=)
|
||||
{
|
||||
|
||||
@@ -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=)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user