diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2016-02-15 01:49:18 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-02-15 17:57:43 +0100 |
commit | 2edc718723b60530aead26c20cbc891102f7d529 (patch) | |
tree | 53c63fd273d1ce93d746b214fe604cac7381bed9 | |
parent | 47570dbde8b33001d5ccac44e7ebaaeecbcb807c (diff) | |
download | ffmpeg-2edc718723b60530aead26c20cbc891102f7d529.tar.gz |
configure: Relax the implication of --enable for components
Do not error out if some subcomponents cannot be enabled.
Reported-By: RT|AO
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2656,10 +2656,11 @@ for opt do ;; --enable-?*|--disable-?*) eval $(echo "$opt" | sed 's/--/action=/;s/-/ option=/;s/-/_/g') - test $action = enable && action="request" if is_in $option $COMPONENT_LIST; then + test $action = enable && action="enable_deep_force" eval $action \$$(toupper ${option%s})_LIST elif is_in $option $CMDLINE_SELECT; then + test $action = enable && action="request" $action $option else die_unknown $opt |