autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.63-283-


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-283-g286c51c
Date: Mon, 02 Mar 2009 18:14:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=286c51ccf3eb56214d9386a93b5d71e297ecfb28

The branch, master has been updated
       via  286c51ccf3eb56214d9386a93b5d71e297ecfb28 (commit)
       via  ba524e662f6f0e0e6e149d192268ff16f3614ba4 (commit)
      from  b35598a688ebba088500e96735bf25f920db6192 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 286c51ccf3eb56214d9386a93b5d71e297ecfb28
Author: Allan Caffee <address@hidden>
Date:   Mon Mar 2 11:11:19 2009 -0700

    Fix a typo in comment for AS_LITERAL_IF.
    
    * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Update a comment that fell
    out of date when this function was moved/renamed in 59ecd766.
    * THANKS: Update.
    
    Signed-off-by: Allan Caffee <address@hidden>
    Signed-off-by: Eric Blake <address@hidden>

commit ba524e662f6f0e0e6e149d192268ff16f3614ba4
Author: Eric Blake <address@hidden>
Date:   Mon Mar 2 10:29:35 2009 -0700

    Improve wording for AS_ESCAPE.
    
    * doc/autoconf.texi (Common Shell Constructs) <AS_ESCAPE>: Touch
    up documentation.
    * lib/m4sugar/m4sh.m4 (_AS_ESCAPE): Fix comment typos.
    Reported by Ralf Wildenhues.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |   15 +++++++++++++++
 THANKS              |    1 +
 doc/autoconf.texi   |   11 +++++++----
 lib/m4sugar/m4sh.m4 |    8 ++++----
 4 files changed, 27 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 08f9e29..f2e6439 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2009-03-02  Allan Caffee  <address@hidden>  (tiny change)
+
+       Fix a typo in comment for AS_LITERAL_IF.
+       * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Update a comment that fell
+       out of date when this function was moved/renamed in 59ecd766.
+       * THANKS: Update.
+
+2009-03-02  Eric Blake  <address@hidden>
+
+       Improve wording for AS_ESCAPE.
+       * doc/autoconf.texi (Common Shell Constructs) <AS_ESCAPE>: Touch
+       up documentation.
+       * lib/m4sugar/m4sh.m4 (_AS_ESCAPE): Fix comment typos.
+       Reported by Ralf Wildenhues.
+
 2009-02-24  Eric Blake  <address@hidden>
 
        Use pkgdatadir consistently.
diff --git a/THANKS b/THANKS
index 475ea30..5cb10cb 100644
--- a/THANKS
+++ b/THANKS
@@ -23,6 +23,7 @@ Alexandre Duret-Lutz        address@hidden
 Alexandre Julliard          ?
 Alexandre Oliva             address@hidden
 Alfred G. de Wijn           address@hidden
+Allan Caffee                address@hidden
 Andreas Buening             address@hidden
 Andreas Jaeger              address@hidden
 Andreas Schott              address@hidden
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 0c0740b..45ebdc6 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -12353,7 +12353,7 @@ and only contain characters from the set @samp{`\"$}; 
however,
 characters may be safely listed more than once in @var{chars} for the
 sake of syntax highlighting editors.  The current implementation expands
 @var{string} after adding escapes; if @var{string} contains macro calls
-that have text that needs quoting, you can use
+that in turn expand to text needing shell quoting, you can use
 @code{AS_ESCAPE(m4_dquote(m4_expand([string])))}.
 
 The default for @var{chars} (@samp{\"$`}) is the set of characters
@@ -12368,17 +12368,20 @@ here-doc; however, when using this variant, care must 
be taken that
 expansions (such as @address@hidden "hi"address@hidden) that would be broken
 with improper escapes.
 
-This macro is often used with @code{AS_ECHO}.  For example, this snippet
-will produce shell code that outputs the four lines @samp{"$foo" =
-"bar"}, @samp{macro}, @samp{a, b}, and @samp{a, \b}:
+This macro is often used with @code{AS_ECHO}.  For an example, observe
+the output generated by the shell code generated from this snippet:
 
 @example
 foo=bar
 AS_ECHO(["AS_ESCAPE(["$foo" = ])AS_ESCAPE(["$foo"], [""])"])
address@hidden"$foo" = "bar"
 m4_define([macro], [a, [\b]])
 AS_ECHO(["AS_ESCAPE([[macro]])"])
address@hidden
 AS_ECHO(["AS_ESCAPE([macro])"])
address@hidden, b
 AS_ECHO(["AS_ESCAPE(m4_dquote(m4_expand([macro])))"])
address@hidden, \b
 @end example
 
 @comment Should we add AS_ESCAPE_SINGLE? If we do, we can optimize in
diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4
index e033063..d8ef957 100644
--- a/lib/m4sugar/m4sh.m4
+++ b/lib/m4sugar/m4sh.m4
@@ -696,13 +696,13 @@ m4_define([AS_ESCAPE],
 
 # _AS_ESCAPE(STRING, KEY, SET)
 # ----------------------------
-# Backslash-escape all instances of the singly byte KEY or up to four
+# Backslash-escape all instances of the single byte KEY or up to four
 # bytes in SET occurring in STRING.  Although a character can occur
 # multiple times, optimum efficiency occurs when KEY and SET are
 # distinct, and when SET does not exceed two bytes.  These particular
 # semantics allow for the fewest number of parses of STRING, as well
-# as taking advantage of newer m4's optimizations when m4_translit is
-# passed SET of size 2 or smaller.
+# as taking advantage of the optimizations in m4 1.4.13+ when
+# m4_translit is passed SET of size 2 or smaller.
 m4_define([_AS_ESCAPE],
 [m4_if(m4_index(m4_translit([[$1]], [$3], [$2$2$2$2]), [$2]), [-1],
        [$0_], [m4_bpatsubst])([$1], [[$2$3]], [\\\&])])
@@ -1520,7 +1520,7 @@ m4_dquote(m4_dquote(m4_defn([m4_cr_symbols1])))[[))], 
[0], [$2], [$3])])
 # AS_LITERAL_IF(EXPRESSION, IF-LITERAL, IF-NOT-LITERAL)
 # -----------------------------------------------------
 # If EXPRESSION has shell indirections ($var or `expr`), expand
-# IF-INDIR, else IF-NOT-INDIR.
+# IF-LITERAL, else IF-NOT-LITERAL.
 # This is an *approximation*: for instance EXPRESSION = `\$' is
 # definitely a literal, but will not be recognized as such.
 #


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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