]> sourceware.org Git - automake.git/commitdiff
* automake.in (read_main_am_file): Don't start macro definition
authorTom Tromey <tromey@redhat.com>
Tue, 27 Apr 1999 21:41:29 +0000 (21:41 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 27 Apr 1999 21:41:29 +0000 (21:41 +0000)
with backslash-newline.  Instead, append newline at the end if
required.

ChangeLog
automake.in

index 3141cdc31db2cbaa6c7a038b12ed820505ad26e9..6a7e288630f99dd2c4a3cdae706a9227dcf7f1e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-04-27  Tom Tromey  <tromey@cygnus.com>
 
+       * automake.in (read_main_am_file): Don't start macro definition
+       with backslash-newline.  Instead, append newline at the end if
+       required.
+
        * automake.in (read_am_file): Insert a backslash before a trailing
        newline.  Fixes pluseq8.test.
 
index 754ab9e0418570d97ada974f4438dde040875e7b..9226e8299ca0059426d8f81a92462e4293459b11 100755 (executable)
@@ -6571,12 +6571,14 @@ sub read_main_am_file
                local ($vcond) = shift (@cond_vals);
                local ($val) = &unquote_cond_val (shift (@cond_vals));
                $output_vars .= ($vcond . $curs . ' '
-                                . $def_type{$curs} . "= \\\n");
+                                . $def_type{$curs} . "= ");
                local ($line);
                foreach $line (split ("\n", $val))
                {
                    $output_vars .= $vcond . $line . "\n";
                }
+               $output_vars .= "\n"
+                   if $val eq '';
            }
        }
        else
This page took 0.037046 seconds and 5 git commands to generate.