We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184db64 commit f97ec35Copy full SHA for f97ec35
make/autoconf/libraries.m4
@@ -43,9 +43,11 @@ AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
43
if test "x$OPENJDK_TARGET_OS" = xwindows || test "x$OPENJDK_TARGET_OS" = xmacosx; then
44
# No X11 support on windows or macosx
45
NEEDS_LIB_X11=false
46
+ elif test "x$ENABLE_HEADLESS_ONLY" = xtrue; then
47
+ # No X11 support needed when building headless only
48
+ NEEDS_LIB_X11=false
49
else
- # All other instances need X11, even if building headless only, libawt still
- # needs X11 headers.
50
+ # All other instances need X11
51
NEEDS_LIB_X11=true
52
fi
53
0 commit comments