* aclocal.in (add_file): Remove useless filling of $output, probably
authorAlexandre Duret-Lutz <adl@gnu.org>
Sun, 7 Sep 2003 10:14:25 +0000 (10:14 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sun, 7 Sep 2003 10:14:25 +0000 (10:14 +0000)
left a after CVS conflict.  This code is now in write_aclocal.

ChangeLog
aclocal.in

index 96da205..810244c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-09-07  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * aclocal.in (add_file): Remove useless filling of $output, probably
+       left a after CVS conflict.  This code is now in write_aclocal.
+
        * aclocal.in (configure_ac): Do not call require_configure_ac
        before parsing the options.
        * automake.in (configure_ac): Likewise.
index c047ada..96e1968 100644 (file)
@@ -381,19 +381,6 @@ sub add_file ($)
   my $mtime = mtime $file;
   $greatest_mtime = $mtime if $greatest_mtime < $mtime;
 
-  # If the file to add looks like path outside the project,
-  # copy it to the output.
-  # The regex catches filenames starting with things like
-  #   / \ c:\ ../ ./../ etc.
-  if ($file =~ m,^(?:(?:\w:)?[\\/]|(?:\.[\\/]+)*\.\.[\\/]),)
-    {
-      $output .= $file_contents{$file} . "\n";
-    }
-  else
-    {
-      # Otherwise, simply include the file.
-      $output .= "m4_include([$file])\n";
-    }
   my (@rlist);
   foreach (split ("\n", $file_contents{$file}))
     {