perl4 fixlet
authorTom Tromey <tromey@redhat.com>
Tue, 2 Jun 1998 19:36:05 +0000 (19:36 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 2 Jun 1998 19:36:05 +0000 (19:36 +0000)
ChangeLog
automake.in

index fc844c5..70a957f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Tue Jun  2 13:27:34 1998  Tom Tromey  <tromey@cygnus.com>
 
+       * automake.in (scan_one_configure_file): Make CONFIGURE file
+       handle local.
+
        * automake.in (read_am_file): Error if blank line or comment
        follows trailing backslash.  Test syntax.test.
        (file_contents_with_transform): Likewise.
index a91bf46..73fcb5c 100755 (executable)
@@ -295,7 +295,7 @@ if ($generate_deps)
     die "automake: Must provide --srcdir-name when generating\n"
       if (!$srcdir_name);
 
-    open(GDEP, ">$output_directory/.dep_segment")
+    open (GDEP, ">$output_directory/.dep_segment")
       || die "automake: Could not open `$output_directory/.dep_segment': $!\n";
 
     &handle_dependencies;
@@ -4024,6 +4024,7 @@ sub handle_minor_options
 sub scan_one_configure_file
 {
     local ($filename) = @_;
+    local (*CONFIGURE);
 
     open (CONFIGURE, $filename)
        || die "automake: couldn't open \`$filename': $!\n";