Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merged r3009:3011 from branches/SDL-1.2: Skip subsystem on --disable-…

…joysticks.
  • Loading branch information
icculus committed Apr 4, 2007
1 parent 411fee1 commit 50305f50ffd9cd49896c499d987bcfec05722f6e
Showing with 2 additions and 1 deletion.
  1. +2 −1 configure.in
@@ -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]]]),

0 comments on commit 50305f5

Please sign in to comment.