* lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
commit9d0eaef6e6a5aa18194602dd0be1b0af8f8e0d1b
authorAlexandre Duret-Lutz <adl@gnu.org>
Sun, 9 Apr 2006 13:56:33 +0000 (9 13:56 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sun, 9 Apr 2006 13:56:33 +0000 (9 13:56 +0000)
treef2f7618c5d0a232ce219a8e13a6c59280fad5bc0
parentd2e347928cea947cfcf19eefea2bc975ecb6e092
* lib/Automake/Variable.pm (_hash_varname, _hash_values): New functions.
(_gen_varname): Use _hash_values, and return a flag indicating whether
the variable name was generated or reused.
(transform_variable_recursively): Do not redefine variables that
are reused, and try to reuse the variable being transformed.
* tests/check2.test: Make sure TESTS hasn't been redefined.
* tests/check5.test, tests/exeext4.test: Make sure variables have
been reused.
* tests/subst2.test: Make sure bin_PROGRAMS gets rewritten.
ChangeLog
lib/Automake/Variable.pm
lib/Automake/tests/Makefile.in
tests/Makefile.in
tests/check2.test
tests/check5.test
tests/exeext4.test
tests/subst2.test