Skip to content
Permalink
Browse files

Regenerated configure with configure.ac changes

  • Loading branch information
slouken committed Mar 21, 2020
1 parent 417713a commit 1a6f6054c27aedc0fe172cc755e6801b23dd2e08
Showing with 7 additions and 0 deletions.
  1. +7 −0 configure
*-*-*bsd* )
onlylibusb=yes
;;
# RAWINPUT is only available on Win32, but can be enabled if HIDAPI is
*-*-cygwin* | *-*-mingw32*)
userawinput=yes
;;
esac

# Check whether --enable-hidapi was given.

$as_echo "#define SDL_JOYSTICK_HIDAPI 1" >>confdefs.h

if test x$userawinput = xyes; then

$as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h

fi
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"

0 comments on commit 1a6f605

Please sign in to comment.