RFR: 8344318: Enhance configure help for enabling/disabling single JVM features
Erik Joelsson
erikj at openjdk.org
Tue Nov 19 17:39:05 UTC 2024
On Tue, 19 Nov 2024 09:25:44 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> The current help of OpenJDK configure could be enhanced a bit regarding enabling/disabling JVM features.
make/autoconf/help.m4 line 243:
> 241: # Print available JVM features
> 242: $PRINTF "The following JVM features are valid as arguments to --with-jvm-features.\n"
> 243: $PRINTF "The flag --enable-jvm-feature-<name>=no can be used to disable a single JVM feature.\n"
The canonical way to disable a feature in an autoconf script is `--disable-<foo>`, which is equivalent to `--enable-<foo>=no`. I also note that running `bash configure --help` already lists all the `--enable-jvm-feature-<foo>` options, so I'm unsure of the need for this additional documentation.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22231#discussion_r1848787239
More information about the build-dev
mailing list