configure.ac
changeset 13653 7393d75c764e
parent 13651 ca9c225103c4
child 13655 99fb2d227d8a
     1.1 --- a/configure.ac	Fri Mar 20 19:47:46 2020 -0700
     1.2 +++ b/configure.ac	Fri Mar 20 19:48:26 2020 -0700
     1.3 @@ -3316,6 +3316,7 @@
     1.4  
     1.5          if test x$hidapi_support = xyes; then
     1.6              AC_DEFINE(SDL_JOYSTICK_HIDAPI, 1, [ ])
     1.7 +            AC_DEFINE(SDL_JOYSTICK_RAWINPUT, 1, [ ])
     1.8              EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
     1.9              SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
    1.10              SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
    1.11 @@ -3713,7 +3714,6 @@
    1.12                      AC_DEFINE(SDL_JOYSTICK_DINPUT, 1, [ ])
    1.13                      EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
    1.14                  fi
    1.15 -                AC_DEFINE(SDL_JOYSTICK_RAWINPUT, 1, [ ])
    1.16              else
    1.17                  AC_DEFINE(SDL_JOYSTICK_WINMM, 1, [ ])
    1.18              fi