2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00
* new/feature.jam
    (expand-subfeatures): Don't try expanding subfeatures in subfeatures.


[SVN r17815]
This commit is contained in:
Vladimir Prus
2003-03-11 15:26:10 +00:00
parent a64edbb6eb
commit 24786762a8
2 changed files with 18 additions and 2 deletions

View File

@@ -300,7 +300,15 @@ rule expand-subfeatures (
local result ;
for local p in $(properties)
{
result += [ expand-subfeatures-aux $(p:G) : $(p:G=) ] ;
# Don't expand subfeatures in subfeatures
if ! [ MATCH "(:)" : $(p:G) ]
{
result += [ expand-subfeatures-aux $(p:G) : $(p:G=) ] ;
}
else
{
result += $(p) ;
}
}
return $(result) ;
}

View File

@@ -300,7 +300,15 @@ rule expand-subfeatures (
local result ;
for local p in $(properties)
{
result += [ expand-subfeatures-aux $(p:G) : $(p:G=) ] ;
# Don't expand subfeatures in subfeatures
if ! [ MATCH "(:)" : $(p:G) ]
{
result += [ expand-subfeatures-aux $(p:G) : $(p:G=) ] ;
}
else
{
result += $(p) ;
}
}
return $(result) ;
}