summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2010-03-08 20:01:32 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-03-08 16:34:10 -0800
commitf62006a86143f2c8556b4e6f3e74508db6b2aa5d (patch)
tree6c8a1a536d269ad3c9f849bb06450d99b44ff541 /acinclude.m4
parentd44989c514beb2f66874babe6b0e75eb444c11e8 (diff)
downloadbluez-f62006a86143f2c8556b4e6f3e74508db6b2aa5d.tar.gz
Fix compilation when --enable-test is passed
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.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 2e4444d44..f7bb04744 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")