From MAILER-DAEMON Tue May 31 11:57:50 2016
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1b7m3C-0000qm-Fd
	for mharc-autoconf-commit@gnu.org; Tue, 31 May 2016 11:57:50 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54199)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1b7m3A-0000oe-78
	for autoconf-commit@gnu.org; Tue, 31 May 2016 11:57:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1b7m34-0002bn-Sw
	for autoconf-commit@gnu.org; Tue, 31 May 2016 11:57:47 -0400
Received: from vcs.savannah.gnu.org ([208.118.235.72]:35249)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1b7m34-0002bd-Q8
	for autoconf-commit@gnu.org; Tue, 31 May 2016 11:57:42 -0400
Received: by vcs.savannah.gnu.org (Postfix, from userid 69712)
	id 771B3220122; Tue, 31 May 2016 15:57:42 +0000 (UTC)
From: "Paul Eggert" <eggert@cs.ucla.edu>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.69-161-gab30867
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 017d5ddd82854911f0119691d91ea8a1438824d6
X-Git-Newrev: ab3086737c7ac8ab07fdaee7c35bb8f91fa8a5c0
Message-Id: <20160531155742.771B3220122@vcs.savannah.gnu.org>
Date: Tue, 31 May 2016 15:57:42 +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: Tue, 31 May 2016 15:57:49 -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=ab3086737c7ac8ab07fdaee7c35bb8f91fa8a5c0

The branch, master has been updated
       via  ab3086737c7ac8ab07fdaee7c35bb8f91fa8a5c0 (commit)
      from  017d5ddd82854911f0119691d91ea8a1438824d6 (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 ab3086737c7ac8ab07fdaee7c35bb8f91fa8a5c0
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue May 31 08:57:20 2016 -0700

    Port AC_CHECK_HEADER_STDBOOL to C++11
    
    * lib/autoconf/headers.m4: Port to C++11.
    Problem reported by David Seifert in:
    http://lists.gnu.org/archive/html/bug-gnulib/2016-05/msg00052.html

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

Summary of changes:
 lib/autoconf/headers.m4 |   32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4
index bb532e5..0c44973 100644
--- a/lib/autoconf/headers.m4
+++ b/lib/autoconf/headers.m4
@@ -529,21 +529,25 @@ AC_DEFUN([AC_CHECK_HEADER_STDBOOL],
         [AC_LANG_PROGRAM(
            [[
              #include <stdbool.h>
-             #ifndef bool
-              "error: bool is not defined"
-             #endif
-             #ifndef false
-              "error: false is not defined"
-             #endif
-             #if false
-              "error: false is not 0"
-             #endif
-             #ifndef true
-              "error: true is not defined"
-             #endif
-             #if true != 1
-              "error: true is not 1"
+
+             #if __cplusplus < 201103
+              #ifndef bool
+               "error: bool is not defined"
+              #endif
+              #ifndef false
+               "error: false is not defined"
+              #endif
+              #if false
+               "error: false is not 0"
+              #endif
+              #ifndef true
+               "error: true is not defined"
+              #endif
+              #if true != 1
+               "error: true is not 1"
+              #endif
              #endif
+
              #ifndef __bool_true_false_are_defined
               "error: __bool_true_false_are_defined is not defined"
              #endif


hooks/post-receive
-- 
GNU Autoconf source repository


