This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Warning fix for automake on CVS Libtool
- To: <automake at gnu dot org>
- Subject: Warning fix for automake on CVS Libtool
- From: Pavel Roskin <proski at gnu dot org>
- Date: Tue, 24 Apr 2001 20:08:35 -0400 (EDT)
- List-Id: Discussion list for automake <automake.gnu.org>
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 (/^\@def(\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