]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* bin/autoscan.in (scan_file): Specify the location in `&used'
authorAkim Demaille <akim@epita.fr>
Tue, 19 Mar 2002 15:25:26 +0000 (15:25 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 19 Mar 2002 15:25:26 +0000 (15:25 +0000)
invocations.
From Nicolas Joly.

ChangeLog
bin/autoscan.in

index 294e0e76b321d8b7c43177968942c893c8c93c6d..345a3e57427a851fbb7102f6ad6ef51027873c81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-19  Akim Demaille  <akim@epita.fr>
+
+       * bin/autoscan.in (scan_file): Specify the location in `&used'
+       invocations.
+       From Nicolas Joly.
+
 2002-03-19  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
index 201be498abc18198f091377ed2b30858e6ed939d..e7101c38a42cf35802895afdb5ef4d886bbfee94 100644 (file)
@@ -359,12 +359,12 @@ sub scan_file ()
 
   if (/\.[chlym](\.in)?$/)
     {
-      used 'programs', 'cc';
+      used 'programs', 'cc', $File::Find::name;
       scan_c_file ($_);
     }
   elsif (/\.(cc|cpp|cxx|CC|C|hh|hpp|hxx|HH|H|yy|ypp|ll|lpp)(\.in)?$/)
     {
-      used 'programs', 'c++';
+      used 'programs', 'c++', $File::Find::name;
       scan_c_file ($_);
     }
   elsif (/^[Mm]akefile(\.in)?$/ || /^GNUmakefile(\.in)?$/)