mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 10:49:12 +00:00
emscripten: obey enable-misc/SDL_MISC settings
This commit is contained in:
@@ -4388,8 +4388,11 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||
CheckClockGettime
|
||||
CheckEmscriptenGLES
|
||||
|
||||
SOURCES="$SOURCES $srcdir/src/misc/emscripten/*.c"
|
||||
have_misc=yes
|
||||
# Set up files for the misc library
|
||||
if test x$enable_misc = xyes; then
|
||||
SOURCES="$SOURCES $srcdir/src/misc/emscripten/*.c"
|
||||
have_misc=yes
|
||||
fi
|
||||
|
||||
# Set up files for the power library
|
||||
if test x$enable_power = xyes; then
|
||||
@@ -4398,7 +4401,7 @@ dnl BeOS support removed after SDL 2.0.1. Haiku still works. --ryan.
|
||||
have_power=yes
|
||||
fi
|
||||
|
||||
# Set up files for the power library
|
||||
# Set up files for the joystick library
|
||||
if test x$enable_joystick = xyes; then
|
||||
AC_DEFINE(SDL_JOYSTICK_EMSCRIPTEN, 1, [ ])
|
||||
SOURCES="$SOURCES $srcdir/src/joystick/emscripten/*.c"
|
||||
|
||||
Reference in New Issue
Block a user