The most recent version of MSys2/Make produces the string "Built for
x86_64-pc-cygwin" whereas the previous version produces the string
"Built for x86_64-pc-msys".  This change breaks the configure step of
the build because of the configure script's expectation that on MSys2,
the string should contain "cygwin".  This patch fixes the problem so
that both old and new versions of MSys2/Make work.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Allow both "msys" and "cygwin" in "Built for" string when checking Make

Changes: https://git.openjdk.org/jdk/pull/31491/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31491&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386551
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/31491.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31491/head:pull/31491

PR: https://git.openjdk.org/jdk/pull/31491

Reply via email to