]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] rename: define_pretty_variable -> define_cond_variable()
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 19 May 2012 21:06:27 +0000 (23:06 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 31 May 2012 08:34:22 +0000 (10:34 +0200)
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 <stefano.lattarini@gmail.com>
automake.in

index 64ac281fbc6b9683fb0bedd5c768dfe8286984f3..6e363487b68d3da204dbc83cbf7d359eed7c80a4 100644 (file)
@@ -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);
 }