newline. Fixes pluseq8.test.
1999-04-27 Tom Tromey <tromey@cygnus.com>
+ * automake.in (read_am_file): Insert a backslash before a trailing
+ newline. Fixes pluseq8.test.
+
* automake.in (MACRO_PATTERN): Allow digits and `_' to start a
macro name.
(check_canonical_spelling): Don't insert `AM' before macro name
{
$contents{$last_var_name} = $am_var_defs{$last_var_name};
}
+ if (substr ($contents{$last_var_name}, -1) eq "\n")
+ {
+ # Insert a backslash before a trailing newline.
+ $contents{$last_var_name}
+ = substr ($contents{$last_var_name}, 0, -1) . "\\\n";
+ }
$contents{$last_var_name} .= ' ' . $value;
}
else