Re: [PATCH] Amend AC_CHECK_HEADER_STDBOOL for C++11 and modern dialects

2016-06-01 Thread Paul Eggert
On 06/01/2016 01:29 AM, David Seifert wrote: stdbool.m4 is supposed to merely check that stdbool.h fulfills C99 requirements. Why does it then necessarily check whether bool is a defined _macro_? Because C99 (and C11) require bool to be a macro. m4/stdbool.m4 now does that check only inside

Re: [PATCH] Amend AC_CHECK_HEADER_STDBOOL for C++11 and modern dialects

2016-06-01 Thread David Seifert
On 31 May 2016, at 18:07, Paul Eggert wrote:On 05/31/2016 12:33 AM, David Seifert wrote:configure.ac:AC_INITAC_PROG_CXXm4_include([stdbool.m4])AC_LANG_PUSH([C++])AC_CHECK_HEADER_STDBOOLThanks for the example. I installed your patch into gnulib. But I don't see how it can work without __bool_true_f