+2002-01-06 Akim Demaille <akim@epita.fr>
+
+ * bin/autoscan.in (scan_file): Use `&used'.
+
2002-01-03 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Output): Improved wording regarding use of
# used($KIND, $WORD, [$WHERE])
# ----------------------------
-# $WORD is used in $KIND.
+# $WORD is used as a $KIND.
sub used ($$;$)
{
my ($kind, $word, $where) = @_;
if (/\.[chlym](\.in)?$/)
{
- push (@{$used{'programs'}{"cc"}}, $File::Find::name);
+ used 'programs', 'cc';
scan_c_file ($_);
}
elsif (/\.(cc|cpp|cxx|CC|C|hh|hpp|hxx|HH|H|yy|ypp|ll|lpp)(\.in)?$/)
{
- push (@{$used{'programs'}{"c++"}}, $File::Find::name);
+ used 'programs', 'c++';
scan_c_file ($_);
}
elsif (/^[Mm]akefile(\.in)?$/ || /^GNUmakefile(\.in)?$/)
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH AUTOSCAN "1" "November 2001" "GNU Autoconf 2.52g" FSF
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.25.
+.TH AUTOSCAN "1" "January 2002" "autoscan 2.52g" "User Commands"
.SH NAME
autoscan \- Generate a preliminary configure.in
.SH SYNOPSIS