Commit 1b15dc3c authored by Måns Rullgård's avatar Måns Rullgård

configure: make --disable-everything soft-disable things

This allows explicitly enabled things to _select others with the
intended result.

Originally committed as revision 23843 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 22d78b05
......@@ -1536,7 +1536,7 @@ for opt do
--enable-debug=*) debuglevel="$optval"
;;
--disable-everything)
map 'eval disable \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
;;
--enable-*=*|--disable-*=*)
eval $(echo "${opt%%=*}" | sed 's/--/action=/;s/-/ thing=/')
......
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