ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/ToolData.pm
(Generate patch)

Comparing COMP/SCRAM/src/BuildSystem/ToolData.pm (file contents):
Revision 1.2 by sashby, Fri Dec 10 13:41:37 2004 UTC vs.
Revision 1.4 by sashby, Wed Apr 13 16:45:36 2005 UTC

# Line 131 | Line 131 | sub scram_project()
131        : $self->{SCRAM_PROJECT};
132     }
133  
134 + sub scram_compiler()
135 +   {
136 +   my $self=shift;
137 +   @_ ? $self->{SCRAM_COMPILER} = shift
138 +      : $self->{SCRAM_COMPILER};
139 +   }
140 +
141   sub variable_data()
142     {
143     my $self=shift;
# Line 234 | Line 241 | sub summarize_features()
241     ($self->scram_project() == 1) ? print "yes" : print "no";
242     print "\n";
243  
244 +   # A compiler tool?
245 +   if ($self->scram_compiler() == 1)
246 +      {
247 +      print "SCRAM_COMPILER=yes\n";
248 +      }
249 +
250     # Print out any variables:
251     foreach my $var (@variables)
252        {
# Line 267 | Line 280 | sub summarize_features()
280     # Finally, look for runtime vars:
281     if (exists($self->{'RUNTIME'}) && (my ($nkeys) = scalar(keys %{$self->{'RUNTIME'}}) > 0 ))
282        {
283 <      while (my ($rt,$val) = each %{$self->{$feature}})
283 >      while (my ($rt,$val) = each %{$self->{'RUNTIME'}})
284           {
285           if ($rt =~ /:/)
286              {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines