Internally just store the conditionals as space separated lists of
authorAkim Demaille <akim@epita.fr>
Sun, 25 Feb 2001 18:42:41 +0000 (18:42 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 25 Feb 2001 18:42:41 +0000 (18:42 +0000)
commit1b09f1d24bd2ec2618956b08a690b2e4eb86cf1f
treed0f8c71b0f76454b966c2f0a955fece46c187b60
parent47a5afa4bab4d874640ec2350f0d8c92ba40f450
Internally just store the conditionals as space separated lists of
CONDITIONS (instead of @CONDITIONS@).
* automake.in (&conditional_true_when, &variable_conditions_sub):
Split conditions at spaces.
(&handle_dependencies, &variable_conditions_permutations): Don't
put @ around conditions.
(&variable_conditions_cmp): There are no @ to strip.
(&make_condition): New.
(&define_pretty_variable, &read_main_am_file, &read_am_file): Use
it.
(&read_main_am_file, &read_am_file): Stop playing with @ by hand.
Join @conditional_stack with spaces.
(&read_main_am_file): Adjust the output of variables.
Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
true' and no longer `@TEST@TRUE = @TEST@true'.
(&variable_conditions_cmp): Rename as...
(&by_condition): this.
Sort in a human pleasant order.
Use it everywhere a human can see conditions.
(&variable_conditions_reduce): Don't sort conditions, that's
pointless.
* tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
ChangeLog
automake.in
tests/cond.test
tests/ctarget1.test
tests/pluseq3.test