From: Stefano Lattarini Date: Sat, 19 May 2012 21:06:27 +0000 (+0200) Subject: [ng] rename: define_pretty_variable -> define_cond_variable() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6175558fe19b623b6d45d7b152c2a876203a2acb;p=thirdparty%2Fautomake.git [ng] rename: define_pretty_variable -> define_cond_variable() The new name is more appropriate, now that there is no more distinction between variables "pretty printed" and "printed as is". * automake.in (define_pretty_variable): Rename ... (define_cond_variable): ... to this. (handle_ltlibraries): Adjust (yes, this was the only caller!) Signed-off-by: Stefano Lattarini --- diff --git a/automake.in b/automake.in index 64ac281fb..6e363487b 100644 --- a/automake.in +++ b/automake.in @@ -2748,7 +2748,7 @@ sub handle_ltlibraries } else { - define_pretty_variable ($rpathvar, $rcond, INTERNAL, $val); + define_cond_variable ($rpathvar, $rcond, INTERNAL, $val); } } @@ -5890,14 +5890,14 @@ sub cond_stack_endif ($$$) ## ------------------------ ## -# &define_pretty_variable ($VAR, $COND, $WHERE, @VALUE) +# &define_cond_variable ($VAR, $COND, $WHERE, @VALUE) # ----------------------------------------------------- # Like define_variable, but the value is a list, and the variable may # be defined conditionally. The second argument is the condition # under which the value should be defined; this should be the empty # string to define the variable unconditionally. The third argument # is a list holding the values to use for the variable. -sub define_pretty_variable ($$$@) +sub define_cond_variable ($$$@) { my ($var, $cond, $where, @value) = @_; @@ -5917,7 +5917,7 @@ sub define_pretty_variable ($$$@) sub define_variable ($$@) { my ($var, $where, @value) = @_; - define_pretty_variable ($var, TRUE, $where, @value); + define_cond_variable ($var, TRUE, $where, @value); }