[pulseaudio-commits] 3 commits - configure.ac NEWS

Tanu Kaskinen tanuk at kemper.freedesktop.org
Mon Nov 24 01:51:53 PST 2014


 NEWS         |    1 -
 configure.ac |   20 ++++++++++++--------
 2 files changed, 12 insertions(+), 9 deletions(-)

New commits:
commit 7856a7bf064f8d792a95fe210ba8439ab0b45942
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date:   Sun Nov 23 15:23:39 2014 +0200

    build-sys: Fix the BlueZ 5 native headset backend check
    
    If the libbluetooth headers aren't available, we shouldn't treat that
    as an error unless --enable-bluez5-native-headset has been explicitly
    given to configure.
    
    BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=86582

diff --git a/configure.ac b/configure.ac
index fdd0f86..fe8423f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1049,11 +1049,11 @@ AS_IF([test "x$HAVE_BLUEZ_5_OFONO_HEADSET" = "x1"], AC_DEFINE([HAVE_BLUEZ_5_OFON
 
 AC_ARG_ENABLE([bluez5-native-headset],
     AS_HELP_STRING([--disable-bluez5-native-headset],[Disable optional native headset backend support (Bluez 5)]))
-AS_IF([test "x$HAVE_BLUEZ_5" = "x1" && test "x$enable_bluez5_native_headset" != "xno"], HAVE_BLUEZ_5_NATIVE_HEADSET=1,
+AS_IF([test "x$HAVE_BLUEZ_5" = "x1" && test "x$enable_bluez5_native_headset" != "xno"],
+      [PKG_CHECK_MODULES(BLUEZ, [ bluez >= 4.101 ], HAVE_BLUEZ_5_NATIVE_HEADSET=1, HAVE_BLUEZ_5_NATIVE_HEADSET=0)],
       HAVE_BLUEZ_5_NATIVE_HEADSET=0)
-AS_IF([test "x$HAVE_BLUEZ_5_NATIVE_HEADSET" = "x1"], [PKG_CHECK_MODULES(BLUEZ, [ bluez >= 4.101 ], [],
-    [AC_MSG_ERROR([*** Bluez library not found (required by native headset backend)])])])
-
+AS_IF([test "x$enable_bluez5_native_headset" = "xyes" && test "x$HAVE_BLUEZ_5_NATIVE_HEADSET" = "x0"],
+      [AC_MSG_ERROR([*** BlueZ 5 native headset backend support not available (requires the libbluetooth headers)])])
 AC_SUBST(HAVE_BLUEZ_5_NATIVE_HEADSET)
 AM_CONDITIONAL([HAVE_BLUEZ_5_NATIVE_HEADSET], [test "x$HAVE_BLUEZ_5_NATIVE_HEADSET" = x1])
 AS_IF([test "x$HAVE_BLUEZ_5_NATIVE_HEADSET" = "x1"], AC_DEFINE([HAVE_BLUEZ_5_NATIVE_HEADSET], 1, [Bluez 5 native headset backend enabled]))

commit 2df47d15195985eb7a3e5fcf8ec356ea40c270aa
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date:   Sun Nov 23 15:23:38 2014 +0200

    build-sys: Always define bluetooth related HAVE_* variables
    
    I don't know if it can cause any problems if HAVE_BLUEZ_4,
    HAVE_BLUEZ_5, HAVE_BLUEZ, HAVE_BLUEZ_5_OFONO_HEADSET or
    HAVE_BLUEZ_5_NATIVE_HEADSET are undefined when the corresponding
    features are not enabled, but it certainly won't hurt to define the
    variables also when the features are not enabled.

diff --git a/configure.ac b/configure.ac
index 433236b..fdd0f86 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1018,20 +1018,22 @@ AS_IF([test "x$enable_bluez4" != "xno" || test "x$enable_bluez5" != "xno"],
     HAVE_SBC=0)
 
 ## BlueZ 4 ##
-AS_IF([test "x$enable_bluez4" != "xno" && test "x$HAVE_DBUS" = "x1" && test "x$HAVE_SBC" = "x1"], HAVE_BLUEZ_4=1)
+AS_IF([test "x$enable_bluez4" != "xno" && test "x$HAVE_DBUS" = "x1" && test "x$HAVE_SBC" = "x1"], HAVE_BLUEZ_4=1,
+      HAVE_BLUEZ_4=0)
 AS_IF([test "x$enable_bluez4" = "xyes" && test "x$HAVE_BLUEZ_4" != "x1"],
     [AC_MSG_ERROR([*** BLUEZ 4 support not found (requires sbc and D-Bus)])])
 AC_SUBST(HAVE_BLUEZ_4)
 AM_CONDITIONAL([HAVE_BLUEZ_4], [test "x$HAVE_BLUEZ_4" = x1])
 
 ## BlueZ 5 ##
-AS_IF([test "x$enable_bluez5" != "xno" && test "x$HAVE_DBUS" = "x1" && test "x$HAVE_SBC" = "x1"], HAVE_BLUEZ_5=1)
+AS_IF([test "x$enable_bluez5" != "xno" && test "x$HAVE_DBUS" = "x1" && test "x$HAVE_SBC" = "x1"], HAVE_BLUEZ_5=1,
+      HAVE_BLUEZ_5=0)
 AS_IF([test "x$enable_bluez5" = "xyes" && test "x$HAVE_BLUEZ_5" != "x1"],
     [AC_MSG_ERROR([*** BLUEZ 5 support not found (requires sbc and D-Bus)])])
 AC_SUBST(HAVE_BLUEZ_5)
 AM_CONDITIONAL([HAVE_BLUEZ_5], [test "x$HAVE_BLUEZ_5" = x1])
 
-AS_IF([test "x$HAVE_BLUEZ_4" = "x1" || test "x$HAVE_BLUEZ_5" = "x1"], HAVE_BLUEZ=1)
+AS_IF([test "x$HAVE_BLUEZ_4" = "x1" || test "x$HAVE_BLUEZ_5" = "x1"], HAVE_BLUEZ=1, HAVE_BLUEZ=0)
 AC_SUBST(HAVE_BLUEZ)
 AM_CONDITIONAL([HAVE_BLUEZ], [test "x$HAVE_BLUEZ" = x1])
 
@@ -1039,14 +1041,16 @@ AM_CONDITIONAL([HAVE_BLUEZ], [test "x$HAVE_BLUEZ" = x1])
 
 AC_ARG_ENABLE([bluez5-ofono-headset],
     AS_HELP_STRING([--disable-bluez5-ofono-headset],[Disable optional ofono headset backend support (Bluez 5)]))
-AS_IF([test "x$HAVE_BLUEZ_5" = "x1" && test "x$enable_bluez5_ofono_headset" != "xno"], HAVE_BLUEZ_5_OFONO_HEADSET=1)
+AS_IF([test "x$HAVE_BLUEZ_5" = "x1" && test "x$enable_bluez5_ofono_headset" != "xno"], HAVE_BLUEZ_5_OFONO_HEADSET=1,
+      HAVE_BLUEZ_5_OFONO_HEADSET=0)
 AC_SUBST(HAVE_BLUEZ_5_OFONO_HEADSET)
 AM_CONDITIONAL([HAVE_BLUEZ_5_OFONO_HEADSET], [test "x$HAVE_BLUEZ_5_OFONO_HEADSET" = x1])
 AS_IF([test "x$HAVE_BLUEZ_5_OFONO_HEADSET" = "x1"], AC_DEFINE([HAVE_BLUEZ_5_OFONO_HEADSET], 1, [Bluez 5 ofono headset backend enabled]))
 
 AC_ARG_ENABLE([bluez5-native-headset],
     AS_HELP_STRING([--disable-bluez5-native-headset],[Disable optional native headset backend support (Bluez 5)]))
-AS_IF([test "x$HAVE_BLUEZ_5" = "x1" && test "x$enable_bluez5_native_headset" != "xno"], HAVE_BLUEZ_5_NATIVE_HEADSET=1)
+AS_IF([test "x$HAVE_BLUEZ_5" = "x1" && test "x$enable_bluez5_native_headset" != "xno"], HAVE_BLUEZ_5_NATIVE_HEADSET=1,
+      HAVE_BLUEZ_5_NATIVE_HEADSET=0)
 AS_IF([test "x$HAVE_BLUEZ_5_NATIVE_HEADSET" = "x1"], [PKG_CHECK_MODULES(BLUEZ, [ bluez >= 4.101 ], [],
     [AC_MSG_ERROR([*** Bluez library not found (required by native headset backend)])])])
 

commit 660aa90322a38c821040dbe2a6d5331a68f3cfc2
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date:   Sun Nov 23 15:33:02 2014 +0200

    NEWS: Zsh completion support isn't new in 6.0
    
    There have been several fixes to the Zsh completion during the current
    development cycle, but the completion was initially implemented
    already in 4.0.

diff --git a/NEWS b/NEWS
index a86a33d..6e49f6b 100644
--- a/NEWS
+++ b/NEWS
@@ -6,7 +6,6 @@ Changes at a glance:
   * SystemD socket activation support
   * Better support for multichannel and 2.1 profiles
   * Protocol optimisations
-  * Zsh shell completion support
   * Remap optimisations
   * Lots of other enhancements, bug fixes, and documenation and i18n updates
 



More information about the pulseaudio-commits mailing list