Fixed undefined references to joystick code
authorSam Lantinga <slouken@libsdl.org>
Fri, 03 Apr 2009 13:35:05 +0000
changeset 310486ea6c073d87
parent 3103 7be21a78777e
child 3105 cdeee9f9b14b
Fixed undefined references to joystick code
configure.in
src/joystick/dummy/SDL_sysjoystick.c
     1.1 --- a/configure.in	Fri Apr 03 13:27:33 2009 +0000
     1.2 +++ b/configure.in	Fri Apr 03 13:35:05 2009 +0000
     1.3 @@ -2916,8 +2916,8 @@
     1.4  
     1.5  # Verify that we have all the platform specific files we need
     1.6  
     1.7 -if test x$enable_joystick = xyes; then
     1.8 -    if test x$have_joystick != xyes; then
     1.9 +if test x$have_joystick != xyes; then
    1.10 +    if test x$enable_joystick = xyes; then
    1.11          AC_DEFINE(SDL_JOYSTICK_DISABLED)
    1.12      fi
    1.13      SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
     2.1 --- a/src/joystick/dummy/SDL_sysjoystick.c	Fri Apr 03 13:27:33 2009 +0000
     2.2 +++ b/src/joystick/dummy/SDL_sysjoystick.c	Fri Apr 03 13:35:05 2009 +0000
     2.3 @@ -87,4 +87,5 @@
     2.4  }
     2.5  
     2.6  #endif /* SDL_JOYSTICK_DUMMY || SDL_JOYSTICK_DISABLED */
     2.7 +
     2.8  /* vi: set ts=4 sw=4 expandtab: */