automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: remove unused code from aclocal.in


From: Alexandre Duret-Lutz
Subject: FYI: remove unused code from aclocal.in
Date: Sun, 07 Sep 2003 12:14:27 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Committed on HEAD.

2003-09-07  Alexandre Duret-Lutz  <address@hidden>

        * aclocal.in (add_file): Remove useless filling of $output, probably
        left after a CVS conflict.  This code is now in write_aclocal.

Index: aclocal.in
===================================================================
RCS file: /cvs/automake/automake/aclocal.in,v
retrieving revision 1.91
diff -u -r1.91 aclocal.in
--- aclocal.in  7 Sep 2003 09:55:35 -0000       1.91
+++ aclocal.in  7 Sep 2003 10:12:29 -0000
@@ -381,19 +381,6 @@
   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}))
     {

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]