automake-patches
[Top][All Lists]
Advanced

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

Re: couple of warning fixes


From: Akim Demaille
Subject: Re: couple of warning fixes
Date: 22 May 2001 11:25:00 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

| Automake just doesn't know anything about the `def' and `tpl'
| extensions.  (Am I wrong in putting such files in _SOURCES?)

No idea...

| The second patch below get rid of these warnings.
| 
| --- automake.in~      Sat May 19 23:40:55 2001
| +++ automake.in       Mon May 21 20:40:33 2001
| @@ -1498,7 +1498,7 @@ sub handle_languages
|      my $needs_c = 0;
|      foreach my $ext (sort keys %extension_seen)
|        {
| -     my $lang = $languages{$extension_map{$ext}};
| +     my $lang = $languages{$extension_map{$ext} || ''};

Huh???  This looks very wrong to me.  It should probably be something
like

        next
          unless $extension_map{$ext};

Actually, I'm frightened: how come Perl does not complain about
$languages{''}?  It is not supposed to exist.  Does it?



reply via email to

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