Commit 4870db73 authored by mru's avatar mru

configure: allow bulk-disabled things to be re-enabled by dependents

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19401 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5fa56ea5
...@@ -1347,6 +1347,7 @@ for opt do ...@@ -1347,6 +1347,7 @@ 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')
if is_in $option $COMPONENT_LIST; then if is_in $option $COMPONENT_LIST; then
test $action = disable && action=unset
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
$action $option $action $option
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment