Re: 28-variable-cleanups.patch

2001-03-20 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: This is mostly ok. Akim> * automake.in (&variable_conditionally_defined): Rename as... Akim> (&variable_unconditionally_defined): this. Please make sure your ChangeLog entries are accurate. This entry is wrong. Akim> (&variable_du

Re: 27-variable-value.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&handle_footer, &handle_installdirs) Akim> (&read_main_am_file): Don't read %contents directly, use Akim> &variable_value. Ok. Really we can probably just get rid of SOURCES and OBJECTS. Tom

Re: 26-define-once.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&read_am_file): Define the variables in a single Akim> shot. Akim> Factor the $saw_bk code. Ok Tom

Re: 25-cond-string.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&read_am_file): Keep $cond_string up to date. Ok. With cryptic, "technical" patches like this one, an explanation of why it is needed would really help. Tom

Re: 24-variable-define-variable.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&define_variable): Use &variable_define. Ok. Tom

Re: 23-variable-pretty-define.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&variable_define): Don't lose the location if we Akim> redefine a variable. Akim> Don't push all the variables in @var_list, let... Akim> (&read_am_file, &file_contents): ... do it. Akim> (&define_pretty_variable): Use variable_define. Akim> (&am_install_var): Dele

Re: 22-variables-dump.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&conditional_dump): Rename as... Akim> (&variables_dump): this. Use... Akim> (&variable_dump): this new sub. Ok. Tom

Re: 20-file-contents-cond-string.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&file_contents): Maintain $cond_string sync with Akim> @cond_stack. Akim> Output rules only if not under `FALSE'. Akim> Define variables under $cond_string. Akim> * scripts.am: For the time being if/endif does not work properly Akim> with macros. Ok. Tom

Re: 19-if-in-scripts-am.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (IF_PATTERN): Unobfuscate the parens. Akim> (ENDIF_PATTERN): Allow a condition to be specified. Akim> (&file_contents): Use a @cond_stack. Akim> (&transform): At least for an easy transition, also transform Akim> %?FOO% and %!FOO%, as suggested by Lars. Akim> * scri

Re: 18-file-contents-uses-rule-define.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&file_contents): Use rule_define. Ok. Tom

Re: 17-file-contents-uses-variable-define.patch

2001-03-20 Thread Tom Tromey
Akim> * automake.in (&variable_define): Don't rely on $1. Akim> Initialize the variable. Akim> Set its Automakism only if not defined or if given to the user. Akim> When concatenating values, insert a separator only if the value Akim> was not empty. Akim> (&read_am_file): When dumping

Re: 12-true-and-false.patch

2001-03-20 Thread Tom Tromey
>> Is there any way to prohibit the user from doing: >> AM_CONDITIONAL(TRUE, blah) >> ? Akim> Yep, easily from conditional.m4 Could you add this to your to-do list, or submit a PR or something? Tom

Re: 14-variable-define.patch

2001-03-20 Thread Tom Tromey
Akim> I chose variable_define after having thought a lot about it :) Akim> The thing is that in the long term I don't think we need all Akim> these functions (define_variable etc.), and there should be one Akim> only (plus a few wrappers when pleasant). That's why I meant to Akim> have a canonica