bug-automake
[Top][All Lists]
Advanced

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

Re: Use of uninitialized value in string eq at aclocal-1.9a


From: Alexandre Duret-Lutz
Subject: Re: Use of uninitialized value in string eq at aclocal-1.9a
Date: Wed, 03 Nov 2004 22:40:04 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

>>> "Ralf" == Ralf Wildenhues <address@hidden> writes:

 Ralf> While bootstrapping CVS HEAD Libtool with head Autoconf and Automake,
 Ralf> I get
 >> Use of uninitialized value in string eq at ..bin/aclocal-1.9a line 468.

Thanks, I'm installing this on HEAD.

Index: ChangeLog
===================================================================
RCS file: /cvs/automake/automake/ChangeLog,v
retrieving revision 1.2679
diff -u -r1.2679 ChangeLog
--- ChangeLog   1 Nov 2004 17:35:36 -0000       1.2679
+++ ChangeLog   3 Nov 2004 21:39:01 -0000
@@ -1,3 +1,9 @@
+2004-11-03  Alexandre Duret-Lutz  <address@hidden>
+
+       * aclocal.in (write_aclocal): Make sure $map_traced_defs{$m} exists
+       before using it.  Suppress a warning observable in test/acloca16.test.
+       Report from Ralf Wildenhues.
+
 2004-11-01  Alexandre Duret-Lutz  <address@hidden>
 
        * lib/Automake/XFile.pm (lock): Make sure $ENV{'MAKEFLAGS'} exists
@@ -805,8 +811,8 @@
        %map_traced_defs.
        (write_aclocal): Use $map_traced_defs to filter out unused
        definitions.
-       * tests/acloca15.test: New file.
-       * tests/Makefile.am (TESTS): Add acloca15.test.
+       * tests/acloca16.test: New file.
+       * tests/Makefile.am (TESTS): Add acloca16.test.
 
 2004-04-12  Alexandre Duret-Lutz  <address@hidden>
 
Index: aclocal.in
===================================================================
RCS file: /cvs/automake/automake/aclocal.in,v
retrieving revision 1.109
diff -u -r1.109 aclocal.in
--- aclocal.in  1 Nov 2004 12:51:34 -0000       1.109
+++ aclocal.in  3 Nov 2004 21:39:01 -0000
@@ -465,7 +465,9 @@
   # instead.)
   for my $m (@macros)
     {
-      $files{$map{$m}} = 1 if $map{$m} eq $map_traced_defs{$m};
+      $files{$map{$m}} = 1
+       if (exists $map_traced_defs{$m}
+           && $map{$m} eq $map_traced_defs{$m});
     }
   $files{'acinclude.m4'} = 1 if -f 'acinclude.m4';
   %files = strip_redundant_includes %files;



-- 
Alexandre Duret-Lutz





reply via email to

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