mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
configure: Relax the implication of --enable for components
Do not error out if some subcomponents cannot be enabled. Reported-By: RT|AO
This commit is contained in:
parent
47570dbde8
commit
2edc718723
3
configure
vendored
3
configure
vendored
@ -2656,10 +2656,11 @@ for opt do
|
|||||||
;;
|
;;
|
||||||
--enable-?*|--disable-?*)
|
--enable-?*|--disable-?*)
|
||||||
eval $(echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g')
|
eval $(echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g')
|
||||||
test $action = enable && action="request"
|
|
||||||
if is_in $option $COMPONENT_LIST; then
|
if is_in $option $COMPONENT_LIST; then
|
||||||
|
test $action = enable && action="enable_deep_force"
|
||||||
eval $action \$$(toupper ${option%s})_LIST
|
eval $action \$$(toupper ${option%s})_LIST
|
||||||
elif is_in $option $CMDLINE_SELECT; then
|
elif is_in $option $CMDLINE_SELECT; then
|
||||||
|
test $action = enable && action="request"
|
||||||
$action $option
|
$action $option
|
||||||
else
|
else
|
||||||
die_unknown $opt
|
die_unknown $opt
|
||||||
|
Loading…
Reference in New Issue
Block a user