automake
[Top][All Lists]
Advanced

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

74-source-suffix-pattern.patch


From: Akim Demaille
Subject: 74-source-suffix-pattern.patch
Date: Mon, 19 Mar 2001 10:22:56 +0100

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * automake.in ($source_suffix_pattern): Remove, unused.
        %extension_map seems to have replaced it.

Index: automake.in
--- automake.in Thu, 15 Mar 2001 00:48:39 +0100 akim (am/f/39_automake.i 1.195 
755)
+++ automake.in Thu, 15 Mar 2001 20:56:51 +0100 akim (am/f/39_automake.i 1.195 
755)
@@ -547,11 +547,6 @@
 # corresponding output extension.
 my %suffix_rules;

-# This is a regular expression which matches all the known source
-# suffix.  A source suffix is one that appears in the first
-# position of a suffix rule.
-my $source_suffix_pattern;
-
 # This is the name of the redirect `all' target to use.
 my $all_target;

@@ -692,8 +692,6 @@ sub initialize_per_input ()

     %suffix_rules = ();

-    $source_suffix_pattern = '';
-
     $all_target = '';

     %extension_seen = ();
@@ -6241,7 +6236,6 @@ sub rule_define ($$$$)
     $suffix_rules{$source_suffix} = $object_suffix;
     print "Sources ending in .$source_suffix become .$object_suffix\n"
       if $verbose;
-    $source_suffix_pattern = "(" . join ('|', keys %suffix_rules) . ")";
     # Set SUFFIXES from suffix_rules.
     push @suffixes, ".$source_suffix", ".$object_suffix";
   }



reply via email to

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