Fixed undefined references to joystick code

This commit is contained in:
Sam Lantinga
2009-04-03 13:35:05 +00:00
parent eb3fc668d0
commit d6c62e184a
2 changed files with 3 additions and 2 deletions

View File

@@ -2916,8 +2916,8 @@ esac
# Verify that we have all the platform specific files we need
if test x$enable_joystick = xyes; then
if test x$have_joystick != xyes; then
if test x$have_joystick != xyes; then
if test x$enable_joystick = xyes; then
AC_DEFINE(SDL_JOYSTICK_DISABLED)
fi
SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"

View File

@@ -87,4 +87,5 @@ SDL_SYS_JoystickQuit(void)
}
#endif /* SDL_JOYSTICK_DUMMY || SDL_JOYSTICK_DISABLED */
/* vi: set ts=4 sw=4 expandtab: */