5.2: broken autotools option handling
commit 6fc7af5f breaks many configure flags by disabling the option always - whatever the option used (as long as one is expressed). Thus the changed options get disabled EVEN with --enable-foo=yes
or --enable-foo
getting passed to ./configure.
Please handle AC_ARG_ENABLE and AC_ARG_WITH correctly as per documentation - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Package-Options.html
The last two arguments to them are [action-if-given]
and [action-if-not-given]
NOT action-if-enabled action-if-disabled
.
Please fix it if any 5.2 releases will still happen.
Edited by Mart Raudsepp