pulseaudio: normalize alsa-lib optional dependency
authorBaruch Siach <baruch@tkos.co.il>
Wed, 20 Dec 2017 16:02:50 +0000 (18:02 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 20 Dec 2017 20:37:16 +0000 (21:37 +0100)
commit8a560563f94e2aa2053db1cd41aa6c74ece1957c
treed29c361723ce5f6cbecf452d5c8b0c80f4cf5cf2
parent388a4bda6b542168f657f45689e5b756e842c416
pulseaudio: normalize alsa-lib optional dependency

Put together alsa-lib dependency and configure option code. As a side
effect we now avoid alsa-lib dependency when the required support in
alsa is missing.

Use positive logic.

Explicitly enable alsa support when available.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pulseaudio/pulseaudio.mk