mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build: Don't enable BlueZ if libbluetooth is not found.
Previously, if libsbc was available but libbluetooth was not, BlueZ would get incorrectly enabled.
This commit is contained in:
parent
e5155b4f50
commit
3ffa0bc62a
1 changed files with 3 additions and 2 deletions
|
|
@ -1007,8 +1007,9 @@ AS_IF([test "x$enable_bluez" != "xno"],
|
|||
[PKG_CHECK_MODULES(BLUEZ, [ bluez >= 4.99 ], HAVE_BLUEZ=1, HAVE_BLUEZ=0)],
|
||||
HAVE_BLUEZ=0)
|
||||
AS_IF([test "x$enable_bluez" != "xno"],
|
||||
[PKG_CHECK_MODULES(SBC, [ sbc >= 1.0 ], HAVE_BLUEZ=1, HAVE_BLUEZ=0)],
|
||||
HAVE_BLUEZ=0)
|
||||
[PKG_CHECK_MODULES(SBC, [ sbc >= 1.0 ], HAVE_SBC=1, HAVE_SBC=0)],
|
||||
HAVE_SBC=0)
|
||||
AS_IF([test "x$HAVE_SBC" != "x1"], HAVE_BLUEZ=0)
|
||||
AS_IF([test "x$HAVE_DBUS" != "x1"], HAVE_BLUEZ=0)
|
||||
|
||||
AS_IF([test "x$enable_bluez" = "xyes" && test "x$HAVE_BLUEZ" = "x0"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue