mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-08 04:18:14 +00:00
Regenerated configure with configure.ac changes
This commit is contained in:
7
configure
vendored
7
configure
vendored
@@ -24232,6 +24232,10 @@ CheckHIDAPI()
|
|||||||
*-*-*bsd* )
|
*-*-*bsd* )
|
||||||
onlylibusb=yes
|
onlylibusb=yes
|
||||||
;;
|
;;
|
||||||
|
# RAWINPUT is only available on Win32, but can be enabled if HIDAPI is
|
||||||
|
*-*-cygwin* | *-*-mingw32*)
|
||||||
|
userawinput=yes
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Check whether --enable-hidapi was given.
|
# Check whether --enable-hidapi was given.
|
||||||
@@ -24336,8 +24340,11 @@ fi
|
|||||||
|
|
||||||
$as_echo "#define SDL_JOYSTICK_HIDAPI 1" >>confdefs.h
|
$as_echo "#define SDL_JOYSTICK_HIDAPI 1" >>confdefs.h
|
||||||
|
|
||||||
|
if test x$userawinput = xyes; then
|
||||||
|
|
||||||
$as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h
|
$as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h
|
||||||
|
|
||||||
|
fi
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
|
||||||
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
|
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
|
||||||
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
|
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
|
||||||
|
Reference in New Issue
Block a user