mirror of
https://github.com/joel16/SDL2.git
synced 2025-03-03 00:55:31 +00:00
Merged r3009:3011 from branches/SDL-1.2: Skip subsystem on --disable-joysticks.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402303
This commit is contained in:
parent
dfd9387039
commit
8c1ec8081f
@ -196,7 +196,6 @@ SOURCES="$SOURCES $srcdir/src/cdrom/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/cpuinfo/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/events/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/file/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/joystick/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/stdlib/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/thread/*.c"
|
||||
SOURCES="$SOURCES $srcdir/src/timer/*.c"
|
||||
@ -227,6 +226,8 @@ AC_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes
|
||||
, enable_joystick=yes)
|
||||
if test x$enable_joystick != xyes; then
|
||||
AC_DEFINE(SDL_JOYSTICK_DISABLED)
|
||||
else
|
||||
SOURCES="$SOURCES $srcdir/src/joystick/*.c"
|
||||
fi
|
||||
AC_ARG_ENABLE(cdrom,
|
||||
AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user