[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] Fix detection of GNU M4 on mksh

From: KO Myung-Hun
Subject: Re: [PATCH 1/2] Fix detection of GNU M4 on mksh
Date: Wed, 18 Oct 2023 23:09:32 +0900
User-agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2


Zack Weinberg wrote:
> On Sun, Oct 15, 2023, at 2:58 AM, KO Myung-Hun wrote:
>> Zack Weinberg wrote:
>>> On Sat, Oct 14, 2023, at 9:19 AM, KO Myung-Hun wrote:
>>>> * m4/m4.m4 (AC_PROG_GNU_M4): Double-quotes $ac_snip2.
>>> Please explain why it isn't also necessary to add double quotes
>>> around all the other variable expansions in this check, particularly
>>> $ac_snippet and $ac_path_M4.
>> Because this test fails due to $ac_snip2
> Details please?

Commit message was not enough ?

$ac_snip2 contains NL. And in order to print it, `print -r --' command
is used on mksh.

BTW, printing without double-quoting, NL in $ac_snip2 is replaced with a
space. Because of this, M4 does not return contents expected. As a
result, test for $ac_snip2 fails.

KO Myung-Hun

Korean OS/2 User Community :

reply via email to

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