# HG changeset patch # User Sam Lantinga # Date 1238765705 0 # Node ID 86ea6c073d87d9928f95bdc08a87d0f1c51df6b5 # Parent 7be21a78777e78aab90ea2eaeae4f4a3e5983b21 Fixed undefined references to joystick code diff -r 7be21a78777e -r 86ea6c073d87 configure.in --- a/configure.in Fri Apr 03 13:27:33 2009 +0000 +++ b/configure.in Fri Apr 03 13:35:05 2009 +0000 @@ -2916,8 +2916,8 @@ # 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" diff -r 7be21a78777e -r 86ea6c073d87 src/joystick/dummy/SDL_sysjoystick.c --- a/src/joystick/dummy/SDL_sysjoystick.c Fri Apr 03 13:27:33 2009 +0000 +++ b/src/joystick/dummy/SDL_sysjoystick.c Fri Apr 03 13:35:05 2009 +0000 @@ -87,4 +87,5 @@ } #endif /* SDL_JOYSTICK_DUMMY || SDL_JOYSTICK_DISABLED */ + /* vi: set ts=4 sw=4 expandtab: */