configure: build tablet-shell client conditionally
Do not build the tablet-shell client if --disable-tablet-shell is given.
Change --enable-tablet-shell to --disable-tablet-shell in ./configure
--help output, since it is enabled by default. Add a description.
Use proper quoting in the conditional.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
diff --git a/configure.ac b/configure.ac
index 5df7c83..0b760c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,10 +213,12 @@
AM_CONDITIONAL(ENABLE_DESKTOP_SHELL, true)
-AC_ARG_ENABLE(tablet-shell, [ --enable-tablet-shell],,
+AC_ARG_ENABLE(tablet-shell,
+ AS_HELP_STRING([--disable-tablet-shell],
+ [do not build tablet-shell server plugin and client]),,
enable_tablet_shell=yes)
AM_CONDITIONAL(ENABLE_TABLET_SHELL,
- test x$enable_tablet_shell = xyes)
+ test "x$enable_tablet_shell" = "xyes")
AC_ARG_ENABLE(wcap-tools, [ --disable-wcap-tools],, enable_wcap_tools=yes)