Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2129
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/29/2129/1
Let's try to enable compiling the Bluetooth code for Windows
(cherry picked from commit 17f7ee8442472e3ef743891b4d4f1a6a8c063472)
Change-Id: Ic761c6c7dd17b42098adc44f7f4435b83ed3d009
---
M configure.ac
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/configure.ac b/configure.ac
index e7c06f2..bb3f96c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -862,9 +862,8 @@
AC_ARG_ENABLE(sdremote-bluetooth,
AS_HELP_STRING([--disable-sdremote-bluetooth],
- [Determines whether to build sdremote with bluetooth support
- Requires: dbus]),
-,enable_sdremote_bluetooth=yes)
+ [Determines whether to build sdremote with bluetooth support.
+ Requires dbus on Linux.]))
AC_ARG_ENABLE(gconf,
AS_HELP_STRING([--disable-gconf],
@@ -9298,12 +9297,28 @@
fi
AC_SUBST(ENABLE_PACKAGEKIT)
-AC_MSG_CHECKING([whether to enable sd remotecontrol])
+AC_MSG_CHECKING([whether to enable Impress remote control])
if test -n "$enable_sdremote" -a "$enable_sdremote" != "no"; then
AC_MSG_RESULT([yes])
ENABLE_SDREMOTE=YES
- AC_MSG_CHECKING([whether to enable bluetooth support in sdremote])
- if test -n "$enable_sdremote_bluetooth" -a "$enable_sdremote_bluetooth" != "no"; then
+ AC_MSG_CHECKING([whether to enable Bluetooth support in Impress remote control])
+
+ # If not explicitly enabled or disabled, default
+ if test -z "$enable_sdremote_bluetooth"; then
+ case "$OS" in
+ LINUX|WNT)
+ # Default to yes for these
+ enable_sdremote_bluetooth=yes
+ ;;
+ *)
+ # otherwise no
+ enable_sdremote_bluetooth=no
+ ;;
+ esac
+ fi
+ # $enable_sdremote_bluetooth is guaranteed non-empty now
+
+ if test "$enable_sdremote_bluetooth" != "no"; then
if test "$OS" = "LINUX"; then
if test "$ENABLE_DBUS" = "TRUE"; then
AC_MSG_RESULT([yes])
@@ -9311,7 +9326,7 @@
dnl ===================================================================
dnl Check for system bluez
dnl ===================================================================
- AC_MSG_CHECKING([which bluetooth header to use])
+ AC_MSG_CHECKING([which Bluetooth header to use])
if test "$with_system_bluez" = "yes"; then
AC_MSG_RESULT([external])
AC_CHECK_HEADER(bluetooth/bluetooth.h, [],
@@ -9325,9 +9340,8 @@
ENABLE_SDREMOTE_BLUETOOTH=NO
fi
else
- # FIXME: should this really be disabled in everything non-Linux?
- AC_MSG_RESULT([no])
- ENABLE_SDREMOTE_BLUETOOTH=NO
+ AC_MSG_RESULT([yes])
+ ENABLE_SDREMOTE_BLUETOOTH=YES
fi
else
AC_MSG_RESULT([no])
--
To view, visit https://gerrit.libreoffice.org/2129
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic761c6c7dd17b42098adc44f7f4435b83ed3d009
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Tor Lillqvist <tml@iki.fi>
Context
- [PATCH libreoffice-4-0] Let's try to enable compiling the Bluetooth code for Windows · Tor Lillqvist (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.