From 078edd8c0fb36b0245df3c6ebd621225dea9b685 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 16 Nov 2022 10:19:43 -0800 Subject: [PATCH] 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. --- lib/autoconf/c.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.37.2