configure.in
changeset 1854 2280e314a978
parent 1836 703f7268b5b1
child 1855 5ff2c01e475e
equal deleted inserted replaced
1853:2c4923336dd0 1854:2280e314a978
  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             AC_DEFINE(SDL_JOYSTICK_WINMM)
  2273             if test x$have_directx = xyes; then
  2274             SOURCES="$SOURCES $srcdir/src/joystick/win32/*.c"
  2274                 AC_DEFINE(SDL_JOYSTICK_DINPUT)
       
  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
  2275             have_joystick=yes
  2280             have_joystick=yes
  2276         fi
  2281         fi
  2277         # Set up files for the cdrom library
  2282         # Set up files for the cdrom library
  2278         if test x$enable_cdrom = xyes; then
  2283         if test x$enable_cdrom = xyes; then
  2279             AC_DEFINE(SDL_CDROM_WIN32)
  2284             AC_DEFINE(SDL_CDROM_WIN32)