Module: libav
Branch: master
Commit: 2edc718723b60530aead26c20cbc891102f7d529

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Mon Feb 15 01:49:18 2016 +0100

configure: Relax the implication of --enable for components

Do not error out if some subcomponents cannot be enabled.

Reported-By: RT|AO

---

 configure |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 7c0845b..270a6ec 100755
--- a/configure
+++ b/configure
@@ -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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to