From: Paul Eggert Date: Fri, 9 Jan 2026 22:10:12 +0000 (-0800) Subject: Fix quoting problem in Solaris commentary X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9513bc15f75b4ed14848dd52390eb11063ef038e;p=thirdparty%2Fautoconf.git Fix quoting problem in Solaris commentary Problem reported by Nick Bowler in: https://lists.gnu.org/r/bug-autoconf/2026-01/msg00001.html --- diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index 372ebddfb..0a9883a5c 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 }