mirror of https://github.com/encounter/SDL.git
libusb hid.c is already included in SDL_hidapi.c
This commit is contained in:
parent
706f63759c
commit
64f448b26c
|
@ -24443,7 +24443,6 @@ $as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h
|
||||||
if test x$have_libusb_h = xyes; then
|
if test x$have_libusb_h = xyes; then
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
|
||||||
if test x$require_hidapi_libusb = xyes; then
|
if test x$require_hidapi_libusb = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/hidapi/libusb/hid.c"
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LIBUSB_LIBS"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LIBUSB_LIBS"
|
||||||
else
|
else
|
||||||
if test x$have_loadso != xyes; then
|
if test x$have_loadso != xyes; then
|
||||||
|
|
|
@ -3385,7 +3385,6 @@ AS_HELP_STRING([--enable-hidapi-libusb], [use libusb for low level joystick driv
|
||||||
if test x$have_libusb_h = xyes; then
|
if test x$have_libusb_h = xyes; then
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS $LIBUSB_CFLAGS"
|
||||||
if test x$require_hidapi_libusb = xyes; then
|
if test x$require_hidapi_libusb = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/hidapi/libusb/hid.c"
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LIBUSB_LIBS"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LIBUSB_LIBS"
|
||||||
else
|
else
|
||||||
if test x$have_loadso != xyes; then
|
if test x$have_loadso != xyes; then
|
||||||
|
|
Loading…
Reference in New Issue