result. Fixes test cond8.test.
1999-04-10 Tom Tromey <tromey@cygnus.com>
+ * automake.in (am_install_var): Remove redundancies from the
+ result. Fixes test cond8.test.
+
* automake.in (handle_single_transform_list): Handle dependency
tracking when files are created in subdirs. Error if object in
subdir has `..' component.
push (@all, '$(' . $primary . ')')
if @used && $primary ne 'JAVA';
- return (@result);
+ # Make the result unique. This lets the user use conditionals in
+ # a natural way, but still lets us program lazily -- we don't have
+ # to worry about handling a particular object more than once.
+ local (%uniquify) = ();
+ grep ($uniquify{$_} = 1, @result);
+ return sort keys %uniquify;
}