[Mir] Move to the new MirDisplayConfig API

This commit is contained in:
Brandon Schaefer
2016-09-21 15:57:15 -07:00
parent fc469f6f27
commit 705ecf78f5
6 changed files with 144 additions and 93 deletions

View File

@@ -1291,12 +1291,11 @@ AC_HELP_STRING([--enable-video-mir], [use Mir video driver [[default=yes]]]),
save_CFLAGS="$CFLAGS"
CFLAGS="$save_CFLAGS $MIR_CFLAGS"
dnl This will disable Mir if >= v0.24 is not available
dnl This will disable Mir if >= v0.25 is not available
AC_TRY_COMPILE([
#include <mir_toolkit/mir_client_library.h>
],[
MirPointerButton button = mir_pointer_button_primary;
MirPointerConfinementState confined = mir_pointer_unconfined;
MirTouchAction actions = mir_touch_actions
],[
video_mir=yes
])