comparison configure.in @ 2567:d551e29f086b gsoc2008_force_feedback

Configure should try to use haptic on windows with directinput.
author Edgar Simo <bobbens@gmail.com>
date Thu, 31 Jul 2008 11:10:52 +0000
parents 0e63e7e4a986
children 91fd5d3cb90e
comparison
equal deleted inserted replaced
2566:94ff09afa478 2567:d551e29f086b
2329 AC_DEFINE(SDL_JOYSTICK_WINMM) 2329 AC_DEFINE(SDL_JOYSTICK_WINMM)
2330 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_mmjoystick.c" 2330 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_mmjoystick.c"
2331 fi 2331 fi
2332 have_joystick=yes 2332 have_joystick=yes
2333 fi 2333 fi
2334 if test x$enable_haptic = xyes; then
2335 if test x$have_dinput = xyes; then
2336 AC_DEFINE(SDL_HAPTIC_DINPUT)
2337 SOURCES="$SOURCES $srcdir/src/haptic/win32/SDL_syshaptic.c"
2338 have_haptic=yes
2339 fi
2340 fi
2334 # Set up files for the cdrom library 2341 # Set up files for the cdrom library
2335 if test x$enable_cdrom = xyes; then 2342 if test x$enable_cdrom = xyes; then
2336 AC_DEFINE(SDL_CDROM_WIN32) 2343 AC_DEFINE(SDL_CDROM_WIN32)
2337 SOURCES="$SOURCES $srcdir/src/cdrom/win32/*.c" 2344 SOURCES="$SOURCES $srcdir/src/cdrom/win32/*.c"
2338 have_cdrom=yes 2345 have_cdrom=yes