configure
changeset 8082 5b83ad3f01ac
parent 8062 4fc5f66d63cc
child 8089 de8b6fdf6544
     1.1 --- a/configure	Wed Dec 25 17:02:15 2013 +0100
     1.2 +++ b/configure	Fri Dec 27 09:29:39 2013 -0300
     1.3 @@ -818,6 +818,7 @@
     1.4  enable_diskaudio
     1.5  enable_dummyaudio
     1.6  enable_video_wayland
     1.7 +enable_video_wayland_qt_touch
     1.8  enable_video_x11
     1.9  with_x
    1.10  enable_x11_shared
    1.11 @@ -1534,6 +1535,9 @@
    1.12    --enable-diskaudio      support the disk writer audio driver [[default=yes]]
    1.13    --enable-dummyaudio     support the dummy audio driver [[default=yes]]
    1.14    --enable-video-wayland  use Wayland video driver [[default=yes]]
    1.15 +  --enable-video-wayland-qt-touch
    1.16 +                          QtWayland server support for Wayland video driver
    1.17 +                          [[default=yes]]
    1.18    --enable-video-x11      use X11 video driver [[default=yes]]
    1.19    --enable-x11-shared     dynamically load X11 support [[default=maybe]]
    1.20    --enable-video-x11-xcursor
    1.21 @@ -18645,6 +18649,14 @@
    1.22  fi
    1.23  
    1.24  
    1.25 +    # Check whether --enable-video-wayland-qt-touch was given.
    1.26 +if test "${enable_video_wayland_qt_touch+set}" = set; then :
    1.27 +  enableval=$enable_video_wayland_qt_touch;
    1.28 +else
    1.29 +  enable_video_wayland_qt_touch=yes
    1.30 +fi
    1.31 +
    1.32 +
    1.33      if test x$enable_video = xyes -a x$enable_video_wayland = xyes; then
    1.34          # Extract the first word of "pkg-config", so it can be a program name with args.
    1.35  set dummy pkg-config; ac_word=$2
    1.36 @@ -18704,6 +18716,11 @@
    1.37  
    1.38  $as_echo "#define SDL_VIDEO_DRIVER_WAYLAND 1" >>confdefs.h
    1.39  
    1.40 +            if test x$enable_video_wayland_qt_touch = xyes; then
    1.41 +
    1.42 +$as_echo "#define SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH 1" >>confdefs.h
    1.43 +
    1.44 +            fi
    1.45              SOURCES="$SOURCES $srcdir/src/video/wayland/*.c"
    1.46              EXTRA_CFLAGS="$EXTRA_CFLAGS $WAYLAND_CFLAGS"
    1.47                          EXTRA_LDFLAGS="$EXTRA_LDFLAGS $WAYLAND_LIBS"