configure: Don't do enable_deep_weak on disabled variables
authorMartin Storsjö <martin@martin.st>
Wed, 3 Apr 2013 12:55:14 +0000 (15:55 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 2 May 2013 19:31:57 +0000 (22:31 +0300)
commitffb068ce8e99df121d18a5b9b1d820f3ea8697fb
tree14447d288166f2f3cd4c67edb7e89ab7f440b2d1
parent4d810ad2e943a59658ddf00a397121c2b62f7157
configure: Don't do enable_deep_weak on disabled variables

This avoids cases where configure tries to weakly enable an item
which actually is disabled, ending up still enabling dependencies
of the item which itself is only enabled weakly.

More concretely, the h264 decoder suggests error resilience, which
is then enabled weakly (unless manually disabled). Previously,
dsputil, which is a dependency of error resilience, was enabled
even if error resilience wasn't enabled in the end.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure