downstream: Multiseat support for drm/wayland backends
[profile/ivi/weston-ivi-shell.git] / configure.ac
index abaa945..d2b125e 100644 (file)
@@ -83,6 +83,17 @@ if test x$enable_xkbcommon = xyes; then
        COMPOSITOR_MODULES="$COMPOSITOR_MODULES xkbcommon >= 0.3.0"
 fi
 
+AC_ARG_ENABLE([multiseat],
+              [AC_HELP_STRING([--enable-multiseat],
+                              [Enable multiseat feature])],
+              [],
+              [enable_multiseat=no])
+
+if test "x$enable_multiseat" = "xyes"; then
+  AC_DEFINE(HAVE_MULTISEAT, [1], [Enable multiseat feature])
+fi
+AM_CONDITIONAL(HAVE_MULTISEAT, test "x$enable_multiseat" = xyes)
+
 AC_ARG_ENABLE(sys-uid, [  --enable-sys-uid],,
               enable_sys_uid=no)
 if test x$enable_sys_uid = xyes; then