equal
deleted
inserted
replaced
2285 fi |
2285 fi |
2286 have_audio=yes |
2286 have_audio=yes |
2287 fi |
2287 fi |
2288 # Set up files for the joystick library |
2288 # Set up files for the joystick library |
2289 if test x$enable_joystick = xyes; then |
2289 if test x$enable_joystick = xyes; then |
2290 AC_DEFINE(SDL_JOYSTICK_WINMM) |
2290 if test x$have_directx = xyes; then |
2291 SOURCES="$SOURCES $srcdir/src/joystick/win32/*.c" |
2291 AC_DEFINE(SDL_JOYSTICK_DINPUT) |
|
2292 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_dxjoystick.c" |
|
2293 else |
|
2294 AC_DEFINE(SDL_JOYSTICK_WINMM) |
|
2295 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_mmjoystick.c" |
|
2296 fi |
2292 have_joystick=yes |
2297 have_joystick=yes |
2293 fi |
2298 fi |
2294 # Set up files for the cdrom library |
2299 # Set up files for the cdrom library |
2295 if test x$enable_cdrom = xyes; then |
2300 if test x$enable_cdrom = xyes; then |
2296 AC_DEFINE(SDL_CDROM_WIN32) |
2301 AC_DEFINE(SDL_CDROM_WIN32) |