autoconf-patches
[Top][All Lists]
Advanced

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

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


From: KO Myung-Hun
Subject: [PATCH 1/2] Fix detection of GNU M4 on mksh
Date: Sat, 14 Oct 2023 22:19:56 +0900

* m4/m4.m4 (AC_PROG_GNU_M4): Double-quotes $ac_snip2.
---
 m4/m4.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/m4.m4 b/m4/m4.m4
index e6203118..76fbd04f 100644
--- a/m4/m4.m4
+++ b/m4/m4.m4
@@ -46,7 +46,7 @@ AC_PATH_PROGS_FEATURE_CHECK([M4], [m4 gm4 gnum4],
       test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
       && test -z "`AS_ECHO([$ac_snippet]) | $ac_path_M4 --trace=mac 2>&1`" \
       && test -f conftest.m4f \
-      && test x"`AS_ECHO([$ac_snip2]) | \
+      && test x"`AS_ECHO(["$ac_snip2"]) | \
                 $ac_path_M4 --trace=T --debug=aflq 2>&1`" = \
               x'm4trace:stdin:3: -1- T(<traced>)' \
       && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
-- 
2.42.0




reply via email to

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