public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix compilation when --enable-test is passed
@ 2010-03-08 23:01 Vinicius Costa Gomes
  2010-03-09  0:35 ` Marcel Holtmann
  2010-03-09 20:53 ` Pacho Ramos
  0 siblings, 2 replies; 3+ messages in thread
From: Vinicius Costa Gomes @ 2010-03-08 23:01 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vinicius Costa Gomes

When --enable-test is passed along with --disable-alsa and
--disable-gstreamer, the SBC lib is not built, which breaks
compilation of the ipctest test program.
---
 acinclude.m4 |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/acinclude.m4 b/acinclude.m4
index 2e4444d..0eaf236 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -316,7 +316,8 @@ AC_DEFUN([AC_ARG_BLUEZ], [
 
 	AM_CONDITIONAL(SNDFILE, test "${sndfile_enable}" = "yes" && test "${sndfile_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(SBC, test "${alsa_enable}" = "yes" || test "${gstreamer_enable}" = "yes" ||
+			test "${test_enable}" = "yes")
 	AM_CONDITIONAL(ALSA, test "${alsa_enable}" = "yes" && test "${alsa_found}" = "yes")
 	AM_CONDITIONAL(GSTREAMER, test "${gstreamer_enable}" = "yes" && test "${gstreamer_found}" = "yes")
 	AM_CONDITIONAL(AUDIOPLUGIN, test "${audio_enable}" = "yes")
-- 
1.7.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-09 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 23:01 [PATCH] Fix compilation when --enable-test is passed Vinicius Costa Gomes
2010-03-09  0:35 ` Marcel Holtmann
2010-03-09 20:53 ` Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox