# HG changeset patch # User Ryan C. Gordon # Date 1162590515 0 # Node ID 8f8066b84b3e32a789ce91de6a5905e9fc2bcf15 # Parent 2e36e0ecde3311d72191082b5427d29cccdc0e76 Use dummy joystick backend if subsystem is enabled but no better driver was found. Fixes Bugzilla #356 (and possibly Bugzilla #350). diff -r 2e36e0ecde33 -r 8f8066b84b3e configure.in --- a/configure.in Sun Oct 29 15:00:54 2006 +0000 +++ b/configure.in Fri Nov 03 21:48:35 2006 +0000 @@ -2441,11 +2441,12 @@ esac # Verify that we have all the platform specific files we need -if test x$have_joystick != xyes; then - if test x$enable_joystick = xyes; then - AC_DEFINE(SDL_JOYSTICK_DISABLED) - fi + +if test x$enable_joystick = xyes; then + if test x$have_joystick != xyes; then + # Wants joystick subsystem, but doesn't have a platform-specific backend... SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c" + fi fi if test x$have_cdrom != xyes; then if test x$enable_cdrom = xyes; then