diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2009-08-24 13:10:48 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2009-08-24 13:10:48 +0000 |
commit | 80c5d68784b8acafc7c2531e5c52f3a4d13e53a1 (patch) | |
tree | df433393150e53351cc3ed5658b1f46d1bbf1b89 /modules/AutomakeWorkspaceCreator.pm | |
parent | 0bd09cb18f8150af51d4dfde02272923a08dd4a8 (diff) | |
download | MPC-80c5d68784b8acafc7c2531e5c52f3a4d13e53a1.tar.gz |
ChangeLogTag: Mon Aug 24 13:10:16 UTC 2009 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/AutomakeWorkspaceCreator.pm')
-rw-r--r-- | modules/AutomakeWorkspaceCreator.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/AutomakeWorkspaceCreator.pm b/modules/AutomakeWorkspaceCreator.pm index 87f74c4c..58f9fdbe 100644 --- a/modules/AutomakeWorkspaceCreator.pm +++ b/modules/AutomakeWorkspaceCreator.pm @@ -137,10 +137,15 @@ sub write_comps { my $fp = $creator->get_feature_parser(); my $features = $fp->get_names(); + my %assoc = %{$self->get_associated_projects()}; foreach my $feature (sort @$features) { print $acfh 'AM_CONDITIONAL(BUILD_', uc($feature), ', ', ($fp->get_value($feature) ? 'true' : 'false'), ')', $crlf; + delete $assoc{$feature}; + } + foreach my $akey (keys %assoc) { + print $acfh 'AM_CONDITIONAL(BUILD_', uc($akey), ', true)', $crlf; } print $acfh $crlf, |