summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-28 10:02:12 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-28 10:02:12 +0000
commit1b15dc3ca8f616e9e650639a6c4c6f8a8a31688f (patch)
tree01798568d05f19316aad1f18d4bb62c92e8ce915 /configure
parent22d78b05b1c80ab739704dbb013c34077d32207b (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 642dfde3b4..60775b512f 100755
--- a/configure
+++ b/configure
@@ -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=/')