New channel `portability-recursive'.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 7 Mar 2009 14:57:22 +0000 (15:57 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 7 Mar 2009 14:57:22 +0000 (15:57 +0100)
commiteb3d397f20a68410d4d25e372ae5f84500f2e506
treec88ad99f0ac92370ee6e8e841dfaef7b99d74f77
parenta88a2a277a7b5f835a32c2120ce6afbbeabd4167
New channel `portability-recursive'.

Add new channel for portability warnings about recursive make
variable expansions `$(var1$(var2))'.  Enable it alongside
`-Wportability'.

* lib/Automake/ChannelDefs.pm (Automake::ChannelDefs): Register
channel `portability-recursive'.
* lib/Automake/Variable.pm (_VARIABLE_CHARACTERS)
(_VARIABLE_RECURSIVE_PATTERN): New variables.
(check_variable_expansions): Diagnose recursive variable
expansions through the new channel.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/Automake/ChannelDefs.pm
lib/Automake/Variable.pm