configure.in
changeset 8082 5b83ad3f01ac
parent 8062 4fc5f66d63cc
child 8087 f9912ddfe17b
     1.1 --- a/configure.in	Wed Dec 25 17:02:15 2013 +0100
     1.2 +++ b/configure.in	Fri Dec 27 09:29:39 2013 -0300
     1.3 @@ -1122,6 +1122,10 @@
     1.4  AC_HELP_STRING([--enable-video-wayland], [use Wayland video driver [[default=yes]]]),
     1.5                    ,enable_video_wayland=yes)
     1.6  
     1.7 +    AC_ARG_ENABLE(video-wayland-qt-touch,
     1.8 +AC_HELP_STRING([--enable-video-wayland-qt-touch], [QtWayland server support for Wayland video driver [[default=yes]]]),
     1.9 +                  ,enable_video_wayland_qt_touch=yes)
    1.10 +
    1.11      if test x$enable_video = xyes -a x$enable_video_wayland = xyes; then
    1.12          AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
    1.13          AC_MSG_CHECKING(for Wayland support)
    1.14 @@ -1137,6 +1141,9 @@
    1.15  
    1.16          if test x$video_wayland = xyes; then
    1.17              AC_DEFINE(SDL_VIDEO_DRIVER_WAYLAND, 1, [ ])
    1.18 +            if test x$enable_video_wayland_qt_touch = xyes; then
    1.19 +                AC_DEFINE(SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH, 1, [ ])
    1.20 +            fi
    1.21              SOURCES="$SOURCES $srcdir/src/video/wayland/*.c"
    1.22              EXTRA_CFLAGS="$EXTRA_CFLAGS $WAYLAND_CFLAGS"
    1.23              dnl FIXME do dynamic loading code here.