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.69-161-


From: Paul Eggert
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.69-161-gab30867
Date: Tue, 31 May 2016 15:57:42 +0000 (UTC)

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 <address@hidden>
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



reply via email to

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