configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit bdd97cb83e09225905a6272caf91579a0a77d3c2
Author:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
AuthorDate: Wed Jul 13 14:10:55 2022 +0200
Commit:     Christian Lohmaier <lohmaier+libreoff...@googlemail.com>
CommitDate: Thu Jul 14 10:42:43 2022 +0200

    fix bluetooth entitlement, was added to the flipped condition
    
    of course it should only be added when the bluetooth part of the
    sdremote is enabled, not the other way round...
    fixes c78b49ec132eb5126445ebee7d259d3df7fcaa68
    
    Change-Id: I0085c61a4bafece80be92c56928095c2726e11b4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137025
    Tested-by: Jenkins
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/configure.ac b/configure.ac
index 87f4f7fa7a1e..6b7070c78d87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11814,14 +11814,14 @@ if test -n "$enable_sdremote" -a "$enable_sdremote" 
!= "no"; then
             AC_MSG_RESULT([yes])
             ENABLE_SDREMOTE_BLUETOOTH=TRUE
             SYSTEM_BLUEZ=
+            SDREMOTE_ENTITLEMENT="$SDREMOTE_ENTITLEMENT
+       <key>com.apple.security.device.bluetooth</key>
+       <true/>"
         fi
     else
         AC_MSG_RESULT([no])
         ENABLE_SDREMOTE_BLUETOOTH=
         SYSTEM_BLUEZ=
-        SDREMOTE_ENTITLEMENT="$SDREMOTE_ENTITLEMENT
-       <key>com.apple.security.device.bluetooth</key>
-       <true/>"
     fi
 else
     ENABLE_SDREMOTE=

Reply via email to