configure.in
branchgsoc2008_force_feedback
changeset 2567 d551e29f086b
parent 2545 0e63e7e4a986
child 2643 91fd5d3cb90e
     1.1 --- a/configure.in	Thu Jul 31 11:06:16 2008 +0000
     1.2 +++ b/configure.in	Thu Jul 31 11:10:52 2008 +0000
     1.3 @@ -2331,6 +2331,13 @@
     1.4              fi
     1.5              have_joystick=yes
     1.6          fi
     1.7 +        if test x$enable_haptic = xyes; then
     1.8 +            if test x$have_dinput = xyes; then
     1.9 +                AC_DEFINE(SDL_HAPTIC_DINPUT)
    1.10 +                SOURCES="$SOURCES $srcdir/src/haptic/win32/SDL_syshaptic.c"
    1.11 +                have_haptic=yes
    1.12 +            fi
    1.13 +        fi
    1.14          # Set up files for the cdrom library
    1.15          if test x$enable_cdrom = xyes; then
    1.16              AC_DEFINE(SDL_CDROM_WIN32)