summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-12-18 14:52:04 +0200
committerTor Lillqvist <tml@iki.fi>2012-12-18 14:52:12 +0200
commitccd519c582cc897b9276b5d04801688c253c1e94 (patch)
treea045e210f2e5a888d369f3b57d3da28c0cfa6031
parentf34cd255366bd045c5728918a390b7c843470554 (diff)
The Impress remote control makes sense only on desktop OSes
Change-Id: I48166fd5ee3dec8c140ef1905023db72c2aa2bd4
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2e9983be0350..a2b1777cb550 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])