From 9c65f27e4557a86970675f830d2c5cbbabf2071c Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 23 Mar 2001 16:58:43 +0000 Subject: [PATCH] * automake.in (&file_contents): Maintain $cond_string sync with @cond_stack. Output rules only if not under `FALSE'. Define variables under $cond_string. * scripts.am: For the time being if/endif does not work properly with macros. --- ChangeLog | 9 +++++++++ automake.in | 17 ++++++++++++----- lib/am/scripts.am | 3 ++- scripts.am | 3 ++- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index e19200e0..02ce4b1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2001-03-23 Akim Demaille + + * automake.in (&file_contents): Maintain $cond_string sync with + @cond_stack. + Output rules only if not under `FALSE'. + Define variables under $cond_string. + * scripts.am: For the time being if/endif does not work properly + with macros. + 2001-03-23 Akim Demaille * automake.in (IF_PATTERN): Unobfuscate the parens. diff --git a/automake.in b/automake.in index a538b490..b5208a37 100755 --- a/automake.in +++ b/automake.in @@ -6740,6 +6740,7 @@ sub file_contents ($%) my $comment = ''; my $separator = ''; my @cond_stack = (); + my $cond_string = ''; foreach (split (/(?