/[autoconf]/autoconf/bin/autoscan.in
ViewVC logotype

Diff of /autoconf/bin/autoscan.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.72 by akim, Mon Nov 26 10:53:00 2001 UTC revision 1.73 by akim, Sun Jan 6 20:47:57 2002 UTC
# Line 188  sub init_tables () Line 188  sub init_tables ()
188    
189  # used($KIND, $WORD, [$WHERE])  # used($KIND, $WORD, [$WHERE])
190  # ----------------------------  # ----------------------------
191  # $WORD is used in $KIND.  # $WORD is used as a $KIND.
192  sub used ($$;$)  sub used ($$;$)
193  {  {
194    my ($kind, $word, $where) = @_;    my ($kind, $word, $where) = @_;
# Line 359  sub scan_file () Line 359  sub scan_file ()
359    
360    if (/\.[chlym](\.in)?$/)    if (/\.[chlym](\.in)?$/)
361      {      {
362        push (@{$used{'programs'}{"cc"}}, $File::Find::name);        used 'programs', 'cc';
363        scan_c_file ($_);        scan_c_file ($_);
364      }      }
365    elsif (/\.(cc|cpp|cxx|CC|C|hh|hpp|hxx|HH|H|yy|ypp|ll|lpp)(\.in)?$/)    elsif (/\.(cc|cpp|cxx|CC|C|hh|hpp|hxx|HH|H|yy|ypp|ll|lpp)(\.in)?$/)
366      {      {
367        push (@{$used{'programs'}{"c++"}}, $File::Find::name);        used 'programs', 'c++';
368        scan_c_file ($_);        scan_c_file ($_);
369      }      }
370    elsif (/^[Mm]akefile(\.in)?$/ || /^GNUmakefile(\.in)?$/)    elsif (/^[Mm]akefile(\.in)?$/ || /^GNUmakefile(\.in)?$/)

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26