bmon: add optional alsa support
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 17 Jun 2011 07:17:16 +0000 (09:17 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 17 Jun 2011 08:59:33 +0000 (10:59 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/bmon/bmon.mk

index aa097fbe02d31c317c3168c112cd6386de6d6f61..ef2dcf048162c568b1b349cf017a71425e67de37 100644 (file)
@@ -14,6 +14,12 @@ else
 BMON_CONF_OPT += --disable-curses
 endif
 
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+BMON_DEPENDENCIES += alsa-lib
+else
+BMON_CONF_OPT += --disable-asound
+endif
+
 ifneq ($(BR2_PREFER_STATIC_LIB),y)
 # link dynamically unless explicitly requested otherwise
 BMON_CONF_OPT += --disable-static