Regenerated configure with configure.ac changes
authorSam Lantinga <slouken@libsdl.org>
Fri, 20 Mar 2020 19:51:54 -0700
changeset 13656498eabc38df8
parent 13655 99fb2d227d8a
child 13657 3c2eaf481522
Regenerated configure with configure.ac changes
configure
     1.1 --- a/configure	Fri Mar 20 19:49:19 2020 -0700
     1.2 +++ b/configure	Fri Mar 20 19:51:54 2020 -0700
     1.3 @@ -24232,6 +24232,10 @@
     1.4          *-*-*bsd* )
     1.5              onlylibusb=yes
     1.6              ;;
     1.7 +        # RAWINPUT is only available on Win32, but can be enabled if HIDAPI is
     1.8 +        *-*-cygwin* | *-*-mingw32*)
     1.9 +            userawinput=yes
    1.10 +            ;;
    1.11      esac
    1.12  
    1.13      # Check whether --enable-hidapi was given.
    1.14 @@ -24336,8 +24340,11 @@
    1.15  
    1.16  $as_echo "#define SDL_JOYSTICK_HIDAPI 1" >>confdefs.h
    1.17  
    1.18 +            if test x$userawinput = xyes; then
    1.19 +
    1.20  $as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h
    1.21  
    1.22 +            fi
    1.23              EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
    1.24              SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
    1.25              SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"