[Libreoffice-commits] .: configure.ac
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Dec 18 04:53:28 PST 2012
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ccd519c582cc897b9276b5d04801688c253c1e94
Author: Tor Lillqvist <tml at iki.fi>
Date: Tue Dec 18 14:52:04 2012 +0200
The Impress remote control makes sense only on desktop OSes
Change-Id: I48166fd5ee3dec8c140ef1905023db72c2aa2bd4
diff --git a/configure.ac b/configure.ac
index 2e9983b..a2b1777 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2279,6 +2279,7 @@ dnl cross-compiling would imply a non-desktop OS.
if test $_os != iOS -a $_os != Android; then
BUILD_TYPE="$BUILD_TYPE DESKTOP"
+ BUILD_TYPE_IS_DESKTOP=YES
fi
# Currently we build only viewer apps for Android (and for iOS not even that yet), so to avoid getting
@@ -9498,7 +9499,7 @@ fi
AC_SUBST(ENABLE_PACKAGEKIT)
AC_MSG_CHECKING([whether to enable Impress remote control])
-if test -n "$enable_sdremote" -a "$enable_sdremote" != "no"; then
+if test "$BUILD_TYPE_IS_DESKTOP" = YES -a -n "$enable_sdremote" -a "$enable_sdremote" != "no"; then
AC_MSG_RESULT([yes])
ENABLE_SDREMOTE=YES
AC_MSG_CHECKING([whether to enable Bluetooth support in Impress remote control])
More information about the Libreoffice-commits
mailing list