From cbc3614749e2b545c3d31d996d202020bbecff61 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 22 Aug 2007 14:51:54 +0000 Subject: Build SBC library only when ALSA or GStreamer is enabled --- acinclude.m4 | 1 + sbc/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit