]> sourceware.org Git - automake.git/commit
* automake.in (conditional_true_when): Return false if $WHEN == FALSE.
authorAlexandre Duret-Lutz <adl@gnu.org>
Thu, 16 May 2002 20:36:29 +0000 (20:36 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Thu, 16 May 2002 20:36:29 +0000 (20:36 +0000)
commitf17d8fe15477dd6a77fb1b4ff07bc3342245b966
treee30a52340e2a5fd30992d76d4ef50fc305eb0986
parent29cd2ec0685f2f1ecfe5dd355194bb3f0e3133b0
* automake.in (conditional_true_when): Return false if $WHEN == FALSE.
(conditional_is_redundant): Simplify.
(conditional_implies_one_of,
variable_not_always_defined_in_cond): New functions
(macro_define): Reject appends if the variable is not defined in
all conditions where `+=' applies.
(invert_conditions): Rewrite.  Before this patch,
invert_conditions("A_TRUE B_TRUE", "A_TRUE B_FALSE", "A_FALSE")
would return ("A_FALSE B_TRUE", "A_FALSE B_TRUE"), which seems
wrong (these conditions implies "A_FALSE").  Now it outputs (),
which just means the input conditions cover all cases.
(variable_conditions_permutations): Never output FALSE conditions.
* tests/pluseq2.test, tests/pluseq3.test: Define data_DATA
in the CHECK_FALSE condition to fix the test.
* tests/pluseq5.test: Actually check the diagnostic.
* tests/pluseq9.test: New file.
* tests/Makefile.am (TESTS): Add pluseq9.test.
ChangeLog
automake.in
tests/Makefile.am
tests/Makefile.in
tests/pluseq2.test
tests/pluseq3.test
tests/pluseq5.test
tests/pluseq9.test [new file with mode: 0755]
This page took 0.030237 seconds and 5 git commands to generate.