configure.in
branchSDL-1.3
changeset 1661 281d3f4870e5
parent 1659 14717b52abc0
child 1692 75f2ace8511a
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)