comparison configure.in @ 2066:8f8066b84b3e

Use dummy joystick backend if subsystem is enabled but no better driver was found. Fixes Bugzilla #356 (and possibly Bugzilla #350).
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 03 Nov 2006 21:48:35 +0000
parents 5f6550e5184f
children dbfa1ebd73b0
comparison
equal deleted inserted replaced
2065:2e36e0ecde33 2066:8f8066b84b3e
2439 ]) 2439 ])
2440 ;; 2440 ;;
2441 esac 2441 esac
2442 2442
2443 # Verify that we have all the platform specific files we need 2443 # Verify that we have all the platform specific files we need
2444 if test x$have_joystick != xyes; then 2444
2445 if test x$enable_joystick = xyes; then 2445 if test x$enable_joystick = xyes; then
2446 AC_DEFINE(SDL_JOYSTICK_DISABLED) 2446 if test x$have_joystick != xyes; then
2447 fi 2447 # Wants joystick subsystem, but doesn't have a platform-specific backend...
2448 SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c" 2448 SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
2449 fi
2449 fi 2450 fi
2450 if test x$have_cdrom != xyes; then 2451 if test x$have_cdrom != xyes; then
2451 if test x$enable_cdrom = xyes; then 2452 if test x$enable_cdrom = xyes; then
2452 AC_DEFINE(SDL_CDROM_DISABLED) 2453 AC_DEFINE(SDL_CDROM_DISABLED)
2453 fi 2454 fi