RFR: 8249704: UTIL_DEPRECATED_ARG_ENABLE dumps incorrect warning message

Erik Joelsson erik.joelsson at oracle.com
Mon Jul 20 13:32:43 UTC 2020


Hello Jie,

Your change looks fine if you really think this is a problem.

However, in Autoconf all --enable-* options have a corresponding 
--disable-* (and every --with-* has a --without-*). Always explicitly 
listing both in all help text would be very cumbersome and I think would 
need to be applied consistently if desired. We have assumed some basic 
autoconf knowledge like this when using the configure script, and so we 
aren't listing both variants. Sometimes we do list the negated version 
in the help text when that's the more obviously useful option. Perhaps 
that should have been done in this case as disabling gtest was the more 
common user option (as enabled was default).

/Erik

On 2020-07-17 23:17, jiefu(傅杰) wrote:
> Hi all,
>
> May I get reviews for this change?
>
> JBS:    https://bugs.openjdk.java.net/browse/JDK-8249704
> Webrev: http://cr.openjdk.java.net/~jiefu/8249704/webrev.00/
>
> Thanks a lot.
> Best regards,
> Jie



More information about the build-dev mailing list