comparison configure.in @ 1855:5ff2c01e475e

Moved DirectInput joystick code to 1.3 branch
author Sam Lantinga <slouken@libsdl.org>
date Sun, 21 May 2006 17:26:40 +0000
parents 2280e314a978
children d688ac43a76b
comparison
equal deleted inserted replaced
1854:2280e314a978 1855:5ff2c01e475e
2268 fi 2268 fi
2269 have_audio=yes 2269 have_audio=yes
2270 fi 2270 fi
2271 # Set up files for the joystick library 2271 # Set up files for the joystick library
2272 if test x$enable_joystick = xyes; then 2272 if test x$enable_joystick = xyes; then
2273 if test x$have_directx = xyes; then 2273 AC_DEFINE(SDL_JOYSTICK_WINMM)
2274 AC_DEFINE(SDL_JOYSTICK_DINPUT) 2274 SOURCES="$SOURCES $srcdir/src/joystick/win32/*.c"
2275 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_dxjoystick.c"
2276 else
2277 AC_DEFINE(SDL_JOYSTICK_WINMM)
2278 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_mmjoystick.c"
2279 fi
2280 have_joystick=yes 2275 have_joystick=yes
2281 fi 2276 fi
2282 # Set up files for the cdrom library 2277 # Set up files for the cdrom library
2283 if test x$enable_cdrom = xyes; then 2278 if test x$enable_cdrom = xyes; then
2284 AC_DEFINE(SDL_CDROM_WIN32) 2279 AC_DEFINE(SDL_CDROM_WIN32)