build: remove support for bluez4
authorNick Stoughton <nstoughton@aether.com>
Tue, 13 Jan 2015 18:31:41 +0000 (10:31 -0800)
committerArun Raghavan <git@arunraghavan.net>
Fri, 3 Jul 2015 10:11:52 +0000 (15:41 +0530)
configure.ac

index de53bb8..8a80569 100644 (file)
@@ -1615,15 +1615,11 @@ esac
 dnl *** bluez ***
 translit(dnm, m, l) AM_CONDITIONAL(USE_BLUEZ, true)
 AG_GST_CHECK_FEATURE(BLUEZ, [Bluez], bluez, [
-  PKG_CHECK_MODULES([BLUEZ4], [bluez < 5.0], [
-    HAVE_BLUEZ=yes
-    AC_DEFINE(HAVE_BLUEZ4,[1],[Old bluez detected])
-  ], [
     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],[Current bluez detected])
+        AC_DEFINE(HAVE_BLUEZ5,[1],[Bluez5 detected])
       ], [
         HAVE_BLUEZ=no
       ])