]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Cater better to underquoted callers
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Nov 2022 18:19:43 +0000 (10:19 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 16 Nov 2022 18:20:08 +0000 (10:20 -0800)
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

index 5e4301e743b106bc587290c47c939651dd2533a5..a388599c1a37b445805706a4a6e615fb111e03ca 100644 (file)
@@ -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"