If we build a headless only JDK, configure will require X11 libraries and headers to be present. This used to be necessary, but thanks to massive cleanups in the AWT headless code, this is no longer the case.
We should fix configure so that headless can be built without X11 libraries and headers. ------------- Commit messages: - 8255785: X11 libraries should not be required by configure for headless only Changes: https://git.openjdk.java.net/jdk/pull/1025/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1025&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8255785 Stats: 5 lines in 1 file changed: 3 ins; 1 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/1025.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1025/head:pull/1025 PR: https://git.openjdk.java.net/jdk/pull/1025