changeset 2949:0f0227b29f43

Only enable bluetooth if we have alsa.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Sat, 04 Oct 2008 19:54:04 +0200
parents b4046e5c478e
children dcd8d93ba781
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Fri Oct 03 00:23:27 2008 +0200
+++ b/configure.ac	Sat Oct 04 19:54:04 2008 +0200
@@ -1408,7 +1408,7 @@
 [have_bluetooth=$enableval],
 [have_bluetooth=yes])
 
-if test "x$have_bluetooth" = "xyes"; then
+if test "x$have_bluetooth" = "xyes" -a "x$have_alsa" = "xyes"; then
     have_bluetooth=yes
     PKG_CHECK_MODULES(BLUEZ, [bluez >= 2.22],
     [GENERAL_PLUGINS="$GENERAL_PLUGINS bluetooth" ], [have_bluetooth="no"])