From: Stefano Lattarini Date: Fri, 16 Sep 2011 11:41:42 +0000 (+0200) Subject: automake: remove special handling of `ANSI2KNR' make variable X-Git-Tag: ng-0.5a~120^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b756f9a40ca7b086d8239f48b0363e394eda5b;p=thirdparty%2Fautomake.git automake: remove special handling of `ANSI2KNR' make variable * automake.in (define_configure_variable): Remove special-cased handling of `ANSI2KNR' variable. Related minor simplifications. --- diff --git a/ChangeLog b/ChangeLog index 50cedb7f1..96cb90546 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-09-16 Stefano Lattarini + + automake: remove special handling of `ANSI2KNR' make variable + * automake.in (define_configure_variable): Remove special-cased + handling of `ANSI2KNR' variable. Related minor simplifications. + 2011-09-01 Stefano Lattarini automake: fix regression due to de-ansification support removal diff --git a/automake.in b/automake.in index 288ff61f7..9ee2d68b0 100644 --- a/automake.in +++ b/automake.in @@ -6330,22 +6330,11 @@ sub define_files_variable ($\@$$) sub define_configure_variable ($) { my ($var) = @_; - - my $pretty = VAR_ASIS; - my $owner = VAR_CONFIGURE; - # Some variables we do not want to output. For instance it # would be a bad idea to output `U = @U@` when `@U@` can be # substituted as `\`. - $pretty = VAR_SILENT if exists $ignored_configure_vars{$var}; - - # ANSI2KNR is a variable that Automake wants to redefine, so - # it must be owned by Automake. (It is also used as a proof - # that AM_C_PROTOTYPES has been run, that's why we do not simply - # omit the AC_SUBST.) - $owner = VAR_AUTOMAKE if $var eq 'ANSI2KNR'; - - Automake::Variable::define ($var, $owner, '', TRUE, subst $var, + my $pretty = exists $ignored_configure_vars{$var} ? VAR_SILENT : VAR_ASIS; + Automake::Variable::define ($var, VAR_CONFIGURE, '', TRUE, subst $var, '', $configure_vars{$var}, $pretty); }