From MAILER-DAEMON Wed Nov 02 13:21:26 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1c1zE6-0003ky-AR
	for mharc-autoconf-commit@gnu.org; Wed, 02 Nov 2016 13:21:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44732)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1c1zE3-0003hX-O9
	for autoconf-commit@gnu.org; Wed, 02 Nov 2016 13:21:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1c1zE2-0002na-NO
	for autoconf-commit@gnu.org; Wed, 02 Nov 2016 13:21:23 -0400
Received: from vcs.savannah.gnu.org ([208.118.235.72]:59949)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1c1zE2-0002nR-JC
	for autoconf-commit@gnu.org; Wed, 02 Nov 2016 13:21:22 -0400
Received: by vcs.savannah.gnu.org (Postfix, from userid 69750)
	id 69C9F220149; Wed,  2 Nov 2016 17:21:22 +0000 (UTC)
From: "Eric Blake" <eblake@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.69-170-gb2621a9
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 2b4844a760d0046b98d93256232d4774c23120be
X-Git-Newrev: b2621a91d70e5c86f4fbdce25eeb0f83df6645b6
Message-Id: <20161102172122.69C9F220149@vcs.savannah.gnu.org>
Date: Wed,  2 Nov 2016 17:21:22 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit/>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Nov 2016 17:21:25 -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=b2621a91d70e5c86f4fbdce25eeb0f83df6645b6

The branch, master has been updated
       via  b2621a91d70e5c86f4fbdce25eeb0f83df6645b6 (commit)
       via  251cc70252107e09e885044816a9ef27cf089159 (commit)
      from  2b4844a760d0046b98d93256232d4774c23120be (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 b2621a91d70e5c86f4fbdce25eeb0f83df6645b6
Author: Quinn Grier <quinn.grier@gmail.com>
Date:   Wed Nov 2 00:58:25 2016 -0500

    doc: fix an infinitely recursing example
    
    The "single" macro infinitely recurses because its expansion contains
    the unquoted text " single-". The "double" macro almost has the same
    problem, but it is protected by extra quotes. In any case, the macro
    names being repeated in the macro definitions is not necessary.
    
    This commit changes the macro names to "foo" and "bar", which are taken
    from a very similar example in the GNU M4 1.4.17 manual. See lines 1971
    to 1980 of v1.4.17:doc/m4.texi in the GNU M4 Git repository.
    
    * doc/autoconf.texi (Quoting and Parameters): Fix broken example.

commit 251cc70252107e09e885044816a9ef27cf089159
Author: Pádraig Brady <P@draigBrady.com>
Date:   Sun Oct 30 16:58:09 2016 +0000

    doc: detail inconsistencies in sed word boundary handling
    
    * doc/autoconf.texi (Limitations of usual tools): Display a
    table showing where the various syntaxes for word boundaries
    are supported.

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

Summary of changes:
 doc/autoconf.texi |   20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 4be1f70..00ca345 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -10573,13 +10573,13 @@ quoting; if the usage is already inside a double-quoted string, then
 split it into concatenated strings.
 
 @example
-define([single], [a single-quoted $[]1 definition])
+define([foo], [a single-quoted $[]1 definition])
 @result{}
-define([double], [[a double-quoted $][1 definition]])
+define([bar], [[a double-quoted $][1 definition]])
 @result{}
-single
+foo
 @result{}a single-quoted $1 definition
-double
+bar
 @result{}a double-quoted $1 definition
 @end example
 
@@ -19666,6 +19666,18 @@ $ @kbd{echo abc | busybox sed '/a\(b\)c/ s/a\(b\)c/\1/'}
 b
 @end example
 
+Portable scripts should be aware of the inconsistencies and options for
+handling word boundaries, as these are not specified by POSIX.
+
+@example
+                \<      \b      [[:<:]]
+Solaris 10      yes     no      no
+Solaris XPG4    yes     no      error
+NetBSD 5.1      no      no      yes
+FreeBSD 9.1     no      no      yes
+GNU             yes     yes     error
+busybox         yes     yes     error
+@end example
 
 @item @command{sed} (@samp{t})
 @c ---------------------------


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Fri Nov 04 17:18:12 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1c2lsK-00075n-7V
	for mharc-autoconf-commit@gnu.org; Fri, 04 Nov 2016 17:18:12 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39552)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1c2lsH-000735-CC
	for autoconf-commit@gnu.org; Fri, 04 Nov 2016 17:18:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1c2lsG-00045s-4I
	for autoconf-commit@gnu.org; Fri, 04 Nov 2016 17:18:09 -0400
Received: from vcs.savannah.gnu.org ([208.118.235.72]:59863)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1c2lsG-00045c-14
	for autoconf-commit@gnu.org; Fri, 04 Nov 2016 17:18:08 -0400
Received: by vcs.savannah.gnu.org (Postfix, from userid 69750)
	id C5A0322012D; Fri,  4 Nov 2016 21:18:07 +0000 (UTC)
From: "Eric Blake" <eblake@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.69-171-g527f183
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: b2621a91d70e5c86f4fbdce25eeb0f83df6645b6
X-Git-Newrev: 527f183f232e14ebf0ef2b8a086d675e78700af2
Message-Id: <20161104211807.C5A0322012D@vcs.savannah.gnu.org>
Date: Fri,  4 Nov 2016 21:18:07 +0000 (UTC)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.72
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit/>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Nov 2016 21:18:10 -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=527f183f232e14ebf0ef2b8a086d675e78700af2

The branch, master has been updated
       via  527f183f232e14ebf0ef2b8a086d675e78700af2 (commit)
      from  b2621a91d70e5c86f4fbdce25eeb0f83df6645b6 (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 527f183f232e14ebf0ef2b8a086d675e78700af2
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Mon Oct 31 18:08:08 2016 +0100

    autoconf: refine quadrigraph test in _AC_DEFINE_UNQUOTED
    
    It is a very common case that a quadrigraph appears in the argument of
    _AC_DEFINE_UNQUOTED, because "#define" is expanded through a quadrigraph.
    Therefore, restrict the quadrigraph tests to "$" (for "$(" and "${")
    and "(" (for "$(").
    
    At the same time, "#" should not be used inside AC_ECHO because it confuses
    m4's comment parsing.  This pre-existing latent bug is caught by test 251:
    
       AC_DEFINE_UNQUOTED([bar], [[%!_!# X]])
    
    Previously the quadrigraph in "@%:@define bar %!_!# X" made Autoconf fall back
    to cat anyway.  Now that Autoconf is not fooled by the quadrigraph, the test
    catches that "#" is not special-cased.  Kudos to Eric for coming up with it!
    
    * lib/autoconf/general (_AC_DEFINE_UNQUOTED): Do not blindly
    use cat on all quadrigraphs.
    
    Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
    Message-Id: <1477933688-4884-4-git-send-email-bonzini@gnu.org>

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

Summary of changes:
 lib/autoconf/general.m4 |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index c15fb13..ef6285d 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -2167,9 +2167,11 @@ m4_define([AC_DEFINE_UNQUOTED], [_AC_DEFINE_Q([_$0], $@)])
 # Append the pre-expanded STRING and a newline to confdefs.h, as if
 # with an unquoted here-doc, but avoiding a fork in the common case of
 # no backslash, no command substitution, no complex variable
-# substitution, and no quadrigraphs.
+# substitution (taking into account quadrigraphs as well).  Also
+# avoid AS_ECHO if "#" is present to avoid confusing m4 with comments,
+# but quadrigraphs are fine in that case.
 m4_define([_AC_DEFINE_UNQUOTED],
-[m4_if(m4_bregexp([$1], [\\\|`\|\$(\|\${\|@]), [-1],
+[m4_if(m4_bregexp([$1], [#\|\\\|`\|\(\$\|@S|@\)\((|{|@{:@\)]), [-1],
        [AS_ECHO(["AS_ESCAPE([$1], [""])"]) >>confdefs.h],
        [cat >>confdefs.h <<_ACEOF
 [$1]


hooks/post-receive
-- 
GNU Autoconf source repository


