Fixes specflags6.test.
+2001-02-14 Tom Tromey <tromey@redhat.com>
+
+ * automake.in (add_depend2): Only emit a given object rule once.
+ Fixes specflags6.test.
+
2001-02-14 Richard Boulton <richard@tartarus.org>
* tests/specflags6.test: New file.
Ralph Schleicher rs@purple.UL.BaWue.DE
Ramón García Fernández ramon@jl1.quim.ucm.es
Rich Wales richw@webcom.com
+Richard Boulton richard@tartarus.org
Rob Savoye rob@cygnus.com
Robert Bihlmeyer robbe@orcus.priv.at
Robert Boehne rboehne@ricardo-us.com
$xform .= 's/\@AMDEP\@.*$//;';
}
+ local (%seen_files) = ();
while ($i < $max)
{
$derived = $list[$i];
$obj = $list[$i + 2];
$i += 3;
+ # We might see a given object twice, for instance if it is
+ # used under different conditions.
+ next if defined $seen_files{$obj};
+ $seen_files{$obj} = 1;
+
my $val = "${derived}_${flag}";
my $obj_compile = $language_map{"$lang-compile"};