configure: make --disable-everything soft-disable things
authorMåns Rullgård <mans@mansr.com>
Mon, 28 Jun 2010 10:02:12 +0000 (10:02 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 28 Jun 2010 10:02:12 +0000 (10:02 +0000)
This allows explicitly enabled things to _select others with the
intended result.

Originally committed as revision 23843 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 642dfde..60775b5 100755 (executable)
--- 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=/')