]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix quoting problem in Solaris commentary master
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Jan 2026 22:10:12 +0000 (14:10 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 9 Jan 2026 22:10:12 +0000 (14:10 -0800)
Problem reported by Nick Bowler in:
https://lists.gnu.org/r/bug-autoconf/2026-01/msg00001.html

lib/m4sugar/m4sh.m4

index 372ebddfbb6ccc625dffe471c4b2e0a39d28d120..0a9883a5c35c73f9bfd4ef2aad56bbfddfd0d57c 100644 (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
   }