mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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
This commit is contained in:
parent
22d78b05b1
commit
1b15dc3ca8
2
configure
vendored
2
configure
vendored
@ -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=/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user