diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-08-22 14:51:54 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-08-22 14:51:54 +0000 |
commit | cbc3614749e2b545c3d31d996d202020bbecff61 (patch) | |
tree | 479e87ea057fb86b69efdd4d3e56393bfee6c9bb | |
parent | 5c33278a29873c438d2ee963674462c7a501995b (diff) |
Build SBC library only when ALSA or GStreamer is enabled
-rw-r--r-- | acinclude.m4 | 1 | ||||
-rw-r--r-- | sbc/Makefile.am | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 0226037d..4f54dadc 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -364,6 +364,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [ AM_CONDITIONAL(INOTIFY, test "${inotify_enable}" = "yes" && test "${inotify_found}" = "yes") AM_CONDITIONAL(HAL, test "${hal_enable}" = "yes" && test "${hal_found}" = "yes") AM_CONDITIONAL(USB, test "${usb_enable}" = "yes" && test "${usb_found}" = "yes") + AM_CONDITIONAL(SBC, test "${alsa_enable}" = "yes" || test "${gstreamer_enable}" = "yes") AM_CONDITIONAL(ALSA, test "${alsa_enable}" = "yes" && test "${alsa_found}" = "yes") AM_CONDITIONAL(OBEX, test "${obex_enable}" = "yes" && test "${openobex_found}" = "yes") AM_CONDITIONAL(GSTREAMER, test "${gstreamer_enable}" = "yes" && test "${gstreamer_found}" = "yes") diff --git a/sbc/Makefile.am b/sbc/Makefile.am index ab8898af..46cb30be 100644 --- a/sbc/Makefile.am +++ b/sbc/Makefile.am @@ -1,5 +1,5 @@ -if ALSA +if SBC noinst_LTLIBRARIES = libsbc.la libsbc_la_SOURCES = sbc.h sbc.c sbc_math.h sbc_tables.h |