automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 13/15] [ng] rename: define_pretty_variable -> defin


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 13/15] [ng] rename: define_pretty_variable -> define_cond_variable()
Date: Fri, 25 May 2012 13:38:35 +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 <address@hidden>
---
 automake.in |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/automake.in b/automake.in
index 64ac281..6e36348 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);
 }
 
 
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]