On 2020-11-03 05:27, Sergey Bylokhov wrote:
On Tue, 3 Nov 2020 01:07:51 GMT, Phil Race <p...@openjdk.org> wrote:

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.
Marked as reviewed by prr (Reviewer).
Do we have a tier 1-build task or something that will check that we did not 
break building headless w/o x11?
There is no regular testing of headless-only. However, the only test needed for this fix was a single confirmation that the headless libraries indeed compile even without X_CFLAGS and X_LIBS. (This was apparent from the code since the make rules did not use X_CFLAGS and X_LIBS, but just to be 100% sure, I also tried building it.)

/Magnus

Reply via email to