Add a comment about confusing code [ci skip]

This commit is contained in:
Takashi Kokubun 2022-11-20 23:21:28 -08:00
parent 730b841f8d
commit 3071a727e0
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -64,6 +64,7 @@ AC_ARG_WITH(baseruby,
[
AC_PATH_PROG([BASERUBY], [ruby], [false])
])
# BASERUBY must be >= 2.2.0. Note that `"2.2.0" > "2.2"` is true.
AS_IF([test "$HAVE_BASERUBY" != no -a "`RUBYOPT=- $BASERUBY --disable=gems -e 'print 42 if RUBY_VERSION > "2.2"' 2>/dev/null`" = 42], [
AS_CASE(["$build_os"], [mingw*], [
# Can MSys shell run a command with a drive letter?