diff -urN a/automake.in b/automake.in --- a/automake.in 2011-05-22 13:29:34.000000000 +0400 +++ b/automake.in 2011-05-22 13:34:27.668006842 +0400 @@ -5277,7 +5277,7 @@ sub pretty_print_internal # character counts for eight. So we count the number of Tabs and # multiply by 7. my $fill_length = length ($fill); - $fill_length += 7 * ($fill =~ tr/\t/\t/d); + $fill_length += 7 * ($fill =~ tr/\t/\t/); foreach (@values) {