----- david.holmes@... skrev:
> I'm not sure what you are asking. BUILD_HEADLESS is a JDK build flag.
> As you say it is set true in the linux and solaris Def-<os>.gmk files,
> and AFAICS it is only used in one place in make/sun/headless/Makefile
> Note: BUILD_HEADLESS_ONLY is an unrelated option that was added to
> support special SE Embedded builds on platforms with no X11 includes
> or libraries available at all.
Ok, the question concerns the api for configuring the build.
My personal opinion now, is that the build should always compile support for headless execution of the jdk.
But you can disable the compilation of head support with
This seems to be consistent with the actual usage of the old makefile variables according to the answers I got to this question.