mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
build: Fix broken BlueZ configure check
The previous commit left an extra set of brackets, and missed removing the explicit dbus check (which is no longer needed since we're using gdbus).
This commit is contained in:
parent
5ebde18f03
commit
0319013726
1 changed files with 7 additions and 12 deletions
19
configure.ac
19
configure.ac
|
@ -1615,21 +1615,16 @@ esac
|
|||
dnl *** bluez ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_BLUEZ, true)
|
||||
AG_GST_CHECK_FEATURE(BLUEZ, [Bluez], bluez, [
|
||||
PKG_CHECK_MODULES([BLUEZ5], [bluez >= 5.0], [
|
||||
PKG_CHECK_MODULES([GIO_UNIX], gio-unix-2.0 > 2.24, [
|
||||
AC_CHECK_PROG([GDBUS_CODEGEN],[gdbus-codegen],[gdbus-codegen])
|
||||
HAVE_BLUEZ=yes
|
||||
AC_DEFINE(HAVE_BLUEZ5,[1],[Bluez5 detected])
|
||||
], [
|
||||
HAVE_BLUEZ=no
|
||||
])
|
||||
PKG_CHECK_MODULES([BLUEZ5], [bluez >= 5.0], [
|
||||
PKG_CHECK_MODULES([GIO_UNIX], gio-unix-2.0 > 2.24, [
|
||||
AC_CHECK_PROG([GDBUS_CODEGEN],[gdbus-codegen],[gdbus-codegen])
|
||||
HAVE_BLUEZ=yes
|
||||
AC_DEFINE(HAVE_BLUEZ5,[1],[Bluez5 detected])
|
||||
], [
|
||||
HAVE_BLUEZ=no
|
||||
])
|
||||
])
|
||||
AS_IF([ test x$HAVE_BLUEZ = xyes ],[
|
||||
dnl FIXME: we should be able to replace this with the GLib DBus stuff
|
||||
PKG_CHECK_MODULES([DBUS], [dbus-1], [HAVE_BLUEZ=yes], [HAVE_BLUEZ=no])
|
||||
], [
|
||||
HAVE_BLUEZ=no
|
||||
])
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue