Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 50580 - Perl can't be disabled in configure
Bug description: Due to incorrect use of AC_ARG_ENABLE macro arguments' semantics some calls like ./configure --disable-* and --enable-*=no worked unexpectedly like --enable-*=yes. Fix description: As this issue affects several ./configure options all were fixed. The fix uses the fourth argument of the AC_ARG_ENABLE to set the default in case no option was provided. In case an explicit --disable-* or --enable-* argument was provided to ./configure the respective $enable_* variable is implicitly populated by autoconf, hence subsequent if-else statements take care of additional operations based on the variable's value. For the record, some implementations of the options pre-set the default value before the AC_ARG_ENABLE in case the respective $enable_* variable has not been set. This is a correct approach, hence left as is. Resolves: https://pagure.io/389-ds-base/issue/50580 Author: Matus Honek <mhonek@redhat.com> Review-By: Mark (thanks!)
- Loading branch information
Showing
1 changed file
with
54 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters