+1999-04-30 Tom Tromey <tromey@cygnus.com>
+
+ * automake.in (finish_languages): Put `.' before extension in
+ suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
+ `-flag'. From Pavel Roskin.
+
1999-04-28 Tom Tromey <tromey@cygnus.com>
* automake.in (finish_languages): Fixed scoping of ltcompile and
. $full
. " \$<\n");
# FIXME: Using cygpath should be somehow conditional.
- $output_rules .= ("$ext.obj:\n"
+ $output_rules .= (".$ext.obj:\n"
. $full
. " \`cygpath -w \$<\`\n")
if $seen_objext;
- $output_rules .= ("$ext.lo:\n"
+ $output_rules .= (".$ext.lo:\n"
. "\t\$(LT"
. $language_map{$lang . '-compiler-name'}
. ") "
if $seen_libtool;
}
- push (@suffixes, $ext);
+ push (@suffixes, '.' . $ext);
# The rest of the loop is done once per language.
next if defined $done{$lang};
$ltcompile, $comp);
}
# The compiler's flag must be a configure variable.
- if (defined $language_map{$lang . '-flag'})
+ if (defined $language_map{$lang . '-flags'})
{
- &define_configure_variable ($language_map{$lang . '-flag'});
+ &define_configure_variable ($language_map{$lang . '-flags'});
}
# Compute the function name of the finisher and then call it.
if (! defined $done{'c'})
{
- &define_configure_variable ($language_map{'c-flag'});
+ &define_configure_variable ($language_map{'c-flags'});
&define_compiler_variable ($language_map{'c-compiler-name'},
$ltcompile,
$language_map{'c-compile'});