Skip to content
Snippets Groups Projects
Commit 2edc7187 authored by Luca Barbato's avatar Luca Barbato
Browse files

configure: Relax the implication of --enable for components

Do not error out if some subcomponents cannot be enabled.

Reported-By: RT|AO
parent 47570dbd
No related branches found
No related tags found
No related merge requests found
......@@ -2656,10 +2656,11 @@ for opt do
;;
--enable-?*|--disable-?*)
eval $(echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g')
test $action = enable && action="request"
if is_in $option $COMPONENT_LIST; then
test $action = enable && action="enable_deep_force"
eval $action \$$(toupper ${option%s})_LIST
elif is_in $option $CMDLINE_SELECT; then
test $action = enable && action="request"
$action $option
else
die_unknown $opt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment