comparison configure.in @ 1661:281d3f4870e5 SDL-1.3

Moved DirectInput joystick code to 1.3 branch
author Sam Lantinga <slouken@libsdl.org>
date Sun, 21 May 2006 17:27:13 +0000
parents 14717b52abc0
children 75f2ace8511a
comparison
equal deleted inserted replaced
1660:8b9d79e7eacf 1661:281d3f4870e5
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)