Fix quoting problem in Solaris commentary

Problem reported by Nick Bowler in:
https://lists.gnu.org/r/bug-autoconf/2026-01/msg00001.html
This commit is contained in:
Paul Eggert 2026-01-09 14:10:12 -08:00
parent c3705f11bc
commit 9513bc15f7

View File

@ -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
}