Similar to how we do it for ffmpeg. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
[Peter: Config.in tweaks] Signed-off-by: Will Newton <will.newton@imgtec.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>