automake
[Top][All Lists]
Advanced

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

Warning fix for automake on CVS Libtool


From: Pavel Roskin
Subject: Warning fix for automake on CVS Libtool
Date: Tue, 24 Apr 2001 20:08:35 -0400 (EDT)

Hello!

This patch eliminates pushing undefined values to an array of suffixes to
be cleaned for texinfo files.

This fixes the warnings automake produces when it's run on the CVS
Libtool sources.

ChangeLog:
        * automake.in (scan_texinfo_file): Don't push undefined values
        to @clean_suffixes.

_______________________
--- automake.in
+++ automake.in
@@ -2596,11 +2596,13 @@
       # Storing in a predefined index.
       elsif (/^\@([cfkvtp])index /)
       {
-        push @clean_suffixes, $predefined_index{$1};
+        push @clean_suffixes, $predefined_index{$1}
+         if (defined $predefined_index{$1});
       }
       elsif (/address@hidden(\w+) /)
       {
-        push @clean_suffixes, $hidden_index{$1};
+        push @clean_suffixes, $hidden_index{$1}
+         if (defined $hidden_index{$1});
       }

       # Merging an index into an another.
_______________________

-- 
Regards,
Pavel Roskin




reply via email to

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