mirror of
https://https.git.savannah.gnu.org/git/autoconf.git
synced 2026-01-26 06:57:58 +00:00
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:
parent
c3705f11bc
commit
9513bc15f7
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user