configure.in
branchgsoc2008_force_feedback
changeset 2474 3f80bf1528b4
parent 2472 3f73c88c9abb
child 2508 f23cee9e16fc
--- 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)