* automake.in (handle_languages, handle_single_transform_list): Use
language '' for unknown extensions.
(derive_suffix): Check whether $extension_map{$source_ext}
is undefined, not empty.
+2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * automake.in (handle_languages, handle_single_transform_list): Use
+ language '' for unknown extensions.
+ (derive_suffix): Check whether $extension_map{$source_ext}
+ is undefined, not empty.
+
2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (read_am_file): Ignore trailing backslash on
my $needs_c = 0;
foreach my $ext (sort keys %extension_seen)
{
+ next unless $extension_map{$ext};
+
my $lang = $languages{$extension_map{$ext}};
# Get information on $LANG.
# FIXME: hard-coding `o' is a mistake. Doing something
# intelligent is harder.
- while ($extension_map{$source_ext} eq ''
+ while (! $extension_map{$source_ext}
&& $source_ext ne 'o'
&& defined $suffix_rules{$source_ext})
{