From 554e6ef424c5d9d86c7cc6feb607de34c96e1058 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 20 Aug 2003 23:19:04 +0000 Subject: [PATCH] feature.jam - bugfix: add default subfeature values only for subfeatures that apply to the top value. [SVN r19717] --- src/build/feature.jam | 1 + 1 file changed, 1 insertion(+) diff --git a/src/build/feature.jam b/src/build/feature.jam index 3930e8b38..8d3fbc53f 100644 --- a/src/build/feature.jam +++ b/src/build/feature.jam @@ -350,6 +350,7 @@ local rule expand-subfeatures-aux ( { local full-name = <$(ungristed-feature)-$(s)> ; if ! optional in $($(full-name).attributes) + && [ is-subfeature-of $(result[1]) $(full-name) ] { if ! $(full-name) in $(result:G) {