configure.in
branchgsoc2008_force_feedback
changeset 2652 380d926cc5a7
parent 2648 6d705ec89fb6
equal deleted inserted replaced
2651:ff33a65123ce 2652:380d926cc5a7
  2325         # Set up files for the joystick library
  2325         # Set up files for the joystick library
  2326         if test x$enable_joystick = xyes; then
  2326         if test x$enable_joystick = xyes; then
  2327             if test x$have_dinput = xyes; then
  2327             if test x$have_dinput = xyes; then
  2328                 AC_DEFINE(SDL_JOYSTICK_DINPUT)
  2328                 AC_DEFINE(SDL_JOYSTICK_DINPUT)
  2329                 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_dxjoystick.c"
  2329                 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_dxjoystick.c"
       
  2330                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8 -lole32"
  2330             else
  2331             else
  2331                 AC_DEFINE(SDL_JOYSTICK_WINMM)
  2332                 AC_DEFINE(SDL_JOYSTICK_WINMM)
  2332                 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_mmjoystick.c"
  2333                 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_mmjoystick.c"
  2333             fi
  2334             fi
  2334             have_joystick=yes
  2335             have_joystick=yes