configure.in
changeset 12244 63282fe5089e
parent 12229 2fb171be56e0
child 12245 0c1c3e41a6f2
equal deleted inserted replaced
12243:a5781d950d5d 12244:63282fe5089e
  3629                 AC_DEFINE(SDL_JOYSTICK_WINMM, 1, [ ])
  3629                 AC_DEFINE(SDL_JOYSTICK_WINMM, 1, [ ])
  3630             fi
  3630             fi
  3631             SOURCES="$SOURCES $srcdir/src/joystick/windows/*.c"
  3631             SOURCES="$SOURCES $srcdir/src/joystick/windows/*.c"
  3632             have_joystick=yes
  3632             have_joystick=yes
  3633         fi
  3633         fi
       
  3634         if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
       
  3635             AC_DEFINE(SDL_JOYSTICK_HIDAPI, 1, [ ])
       
  3636             EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
       
  3637             SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
       
  3638         fi
  3634         if test x$enable_haptic = xyes; then
  3639         if test x$enable_haptic = xyes; then
  3635             if test x$have_dinput = xyes -o x$have_xinput = xyes; then
  3640             if test x$have_dinput = xyes -o x$have_xinput = xyes; then
  3636                 if test x$have_xinput = xyes; then
  3641                 if test x$have_xinput = xyes; then
  3637                     AC_DEFINE(SDL_HAPTIC_XINPUT, 1, [ ])
  3642                     AC_DEFINE(SDL_HAPTIC_XINPUT, 1, [ ])
  3638                 fi
  3643                 fi