Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Use dummy joystick backend if subsystem is enabled but no better driv…
…er was

 found.

Fixes Bugzilla #356 (and possibly Bugzilla #350).
  • Loading branch information
icculus committed Nov 3, 2006
1 parent 17b2013 commit 38501ff
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions configure.in
Expand Up @@ -2441,11 +2441,12 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
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
Expand Down

0 comments on commit 38501ff

Please sign in to comment.