Fixes building SDL on Ubuntu 16.04 with Mir headers installed
authorGabriel Jacobo <gabomdq@gmail.com>
Thu, 01 Sep 2016 16:01:54 -0300
changeset 10305a289f7ea213b
parent 10304 ee83e0b4a36f
child 10306 3a17ad305b22
Fixes building SDL on Ubuntu 16.04 with Mir headers installed
configure
configure.in
     1.1 --- a/configure	Thu Sep 01 01:26:56 2016 -0700
     1.2 +++ b/configure	Thu Sep 01 16:01:54 2016 -0300
     1.3 @@ -18975,6 +18975,7 @@
     1.4  {
     1.5  
     1.6                      MirPointerButton button = mir_pointer_button_primary;
     1.7 +                    MirPointerConfinementState confined = mir_pointer_unconfined;
     1.8  
     1.9    ;
    1.10    return 0;
     2.1 --- a/configure.in	Thu Sep 01 01:26:56 2016 -0700
     2.2 +++ b/configure.in	Thu Sep 01 16:01:54 2016 -0300
     2.3 @@ -1291,11 +1291,12 @@
     2.4                  save_CFLAGS="$CFLAGS"
     2.5                  CFLAGS="$save_CFLAGS $MIR_CFLAGS"
     2.6  
     2.7 -                dnl This will disable Mir on Ubuntu < 15.04 (Mir should be 0.14 at this point)
     2.8 +                dnl This will disable Mir if >= v0.24 is not available
     2.9                  AC_TRY_COMPILE([
    2.10                  #include <mir_toolkit/mir_client_library.h>
    2.11                  ],[
    2.12                      MirPointerButton button = mir_pointer_button_primary;
    2.13 +                    MirPointerConfinementState confined = mir_pointer_unconfined;
    2.14                  ],[
    2.15                  video_mir=yes
    2.16                  ])