comparison configure.in @ 3890:636320238bc8 SDL-1.2

Merged r2896:2897 from trunk (use dummy joystick if subsystem enabled and no platform-specific driver exists). Fixes Bugzilla #356 (and maybe Bugzilla #350).
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 03 Nov 2006 21:52:54 +0000
parents fbde7ed1a835
children 3a7248359cdd
comparison
equal deleted inserted replaced
3889:67d518069d9a 3890:636320238bc8
2562 ]) 2562 ])
2563 ;; 2563 ;;
2564 esac 2564 esac
2565 2565
2566 # Verify that we have all the platform specific files we need 2566 # Verify that we have all the platform specific files we need
2567 if test x$have_joystick != xyes; then 2567
2568 if test x$enable_joystick = xyes; then 2568 if test x$enable_joystick = xyes; then
2569 AC_DEFINE(SDL_JOYSTICK_DISABLED) 2569 if test x$have_joystick != xyes; then
2570 fi 2570 # Wants joystick subsystem, but doesn't have a platform-specific backend...
2571 SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c" 2571 SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
2572 fi
2572 fi 2573 fi
2573 if test x$have_cdrom != xyes; then 2574 if test x$have_cdrom != xyes; then
2574 if test x$enable_cdrom = xyes; then 2575 if test x$enable_cdrom = xyes; then
2575 AC_DEFINE(SDL_CDROM_DISABLED) 2576 AC_DEFINE(SDL_CDROM_DISABLED)
2576 fi 2577 fi