Fix API/ABI breakage in Mir 0.13/0.14.

This commit is contained in:
bschaefer committed 2016-02-21 15:19:35 -08:00
1 parent 481a21b025
commit 3607d3b756
12 files changed
+541 -203

No files matched your search

+3 -3
View File
@@ -1284,12 +1284,12 @@ AC_HELP_STRING([--enable-video-mir], [use Mir video driver [[default=yes]]]),
MIR_LIBS=`$PKG_CONFIG --libs mirclient egl xkbcommon`
save_CFLAGS="$CFLAGS"
CFLAGS="$save_CFLAGS $MIR_CFLAGS"
dnl This will disable Mir on Ubuntu < 14.04
dnl This will disable Mir on Ubuntu < 15.04 (Mir should be 0.14 at this point)
AC_TRY_COMPILE([
#include <mir_toolkit/mir_client_library.h>
],[
MirMotionToolType tool = mir_motion_tool_type_mouse;
MirPointerButton button = mir_pointer_button_primary;
],[
video_mir=yes
])