Thanks for reporting that. I installed the attached to fix the quoting bug.
From 9513bc15f75b4ed14848dd52390eb11063ef038e Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email protected]>
Date: Fri, 9 Jan 2026 14:10:12 -0800
Subject: [PATCH] Fix quoting problem in Solaris commentary
Problem reported by Nick Bowler in:
https://lists.gnu.org/r/bug-autoconf/2026-01/msg00001.html
---
lib/m4sugar/m4sh.m4 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4
index 372ebddf..0a9883a5 100644
--- a/lib/m4sugar/m4sh.m4
+++ b/lib/m4sugar/m4sh.m4
@@ -1800,7 +1800,8 @@ m4_defun([_AS_VERSION_COMPARE_PREPARE],
}
# Beware Solaris 11 /usr/xgp4/bin/awk, which mishandles some
# comparisons of empty strings to integers. For example,
- # LC_ALL=C /usr/xpg4/bin/awk 'BEGIN {if (-1 < "") print "a"}' prints "a".
+ # LC_ALL=C /usr/xpg4/bin/awk "BEGIN {if (-1 < \"\") print \"a\"}"
+ # prints "a".
if (length(v2)) exit 1
if (length(v1)) exit 2
}
--
2.51.0