diff configure.in @ 2474:3f80bf1528b4 gsoc2008_force_feedback

Properly quit the SDL_haptic subsystem. Added SDL_Haptic dummy driver.
author Edgar Simo <bobbens@gmail.com>
date Sun, 01 Jun 2008 18:46:51 +0000
parents 3f73c88c9abb
children f23cee9e16fc
line wrap: on
line diff
--- a/configure.in	Sun Jun 01 18:40:47 2008 +0000
+++ b/configure.in	Sun Jun 01 18:46:51 2008 +0000
@@ -2580,6 +2580,11 @@
     SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
   fi
 fi
+if test x$enable_haptic = xyes; then
+  if test x$have_haptic != xyes; then
+    SOURCES="$SOURCES $srcdir/src/haptic/dummy/*.c"
+  fi
+fi
 if test x$have_cdrom != xyes; then
     if test x$enable_cdrom = xyes; then
         AC_DEFINE(SDL_CDROM_DISABLED)