[Mir] Move to the new MirDisplayConfig API
This commit is contained in:
@@ -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
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user