linux-bluetooth.vger.kernel.org archive mirror
 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

* Re: [PATCH] Fix compilation when --enable-test is passed
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2010-03-09  0:35 UTC (permalink / raw)
  To: Vinicius Costa Gomes; +Cc: linux-bluetooth

Hi Vinicius,

> 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(-)

patch has been applied. Thanks.

Regards

Marcel



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

* Re: [PATCH] Fix compilation when --enable-test is passed
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2010-03-09 20:53 UTC (permalink / raw)
  To: Vinicius Costa Gomes; +Cc: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]

El lun, 08-03-2010 a las 20:01 -0300, Vinicius Costa Gomes escribió:
> 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")

Thanks a lot for the patch, I will try it as soon as I am able to :-)

[-- Attachment #2: Esta parte del mensaje está firmada digitalmente --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[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;
as well as URLs for NNTP newsgroup(s).