From: Paul Eggert Date: Wed, 16 Nov 2022 18:19:43 +0000 (-0800) Subject: Cater better to underquoted callers X-Git-Tag: v2.72c~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=078edd8c0fb36b0245df3c6ebd621225dea9b685;p=thirdparty%2Fautoconf.git Cater better to underquoted callers Problem reported by Frederic Berat in: https://lists.gnu.org/r/autoconf/2022-11/msg00092.html * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Omit comma in comment, which triggers bugs in underquoted callers. --- diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index 5e4301e7..a388599c 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -128,7 +128,7 @@ m4_if([$2], [main], , Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code, supporting it here + although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C"