For PR automake/360:
authorAlexandre Duret-Lutz <adl@gnu.org>
Sat, 28 Sep 2002 12:41:06 +0000 (12:41 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sat, 28 Sep 2002 12:41:06 +0000 (12:41 +0000)
commit5d52af2826159c944f071e1cc4300440579e8a3e
treed6c25a264be7933c18106091d8d32044f22c835a
parentc7765cc0a52403e13652e2658cf960f5ee38eb49
For PR automake/360:
* lib/Automake/Location.pm: New file.
* lib/Automake/Channels.pm (_print_message): Display contexts
when given an Automake::Location.
(msg): Clone the location.
* lib/Automake/Makefile.am (dist_perllib_DATA): Add Location.pm.
* tests/comment5.test: Make sure we display `included from' stacks.
* automake.in: Use Automake::Location.
(INTERNAL): New constant.
(file_contents, file_contents_internal, define_variable,
define_pretty_variable, read_am_file): Take $WHERE as argument.
Adjust all callers.
(scan_autoconf_traces) <$where>: Define as a Location, and use
it instead of $here.
(macro_define, rule_define): Make sure $WHERE is a location.
Clone it before updating $var_location or $targets.
ChangeLog
automake.in
lib/Automake/Channels.pm
lib/Automake/Location.pm [new file with mode: 0644]
lib/Automake/Makefile.am
lib/Automake/Makefile.in
tests/comment5.test