Skip to content
Snippets Groups Projects
  • Martin Storsjö's avatar
    ffb068ce
    configure: Don't do enable_deep_weak on disabled variables · ffb068ce
    Martin Storsjö authored
    
    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: default avatarMartin Storsjö <martin@martin.st>
    ffb068ce
    History
    configure: Don't do enable_deep_weak on disabled variables
    Martin Storsjö authored
    
    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: default avatarMartin Storsjö <martin@martin.st>