configure.in
branchgsoc2008_force_feedback
changeset 2509 3b54b3a97046
parent 2508 f23cee9e16fc
child 2545 0e63e7e4a986
--- a/configure.in	Wed Jul 09 16:33:51 2008 +0000
+++ b/configure.in	Wed Jul 09 17:06:54 2008 +0000
@@ -2580,10 +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
+if test x$have_haptic != xyes; then
+    if test x$enable_haptic = xyes; then
+        AC_DEFINE(SDL_HAPTIC_DISABLED)
+    fi
     SOURCES="$SOURCES $srcdir/src/haptic/dummy/*.c"
-  fi
 fi
 if test x$have_cdrom != xyes; then
     if test x$enable_cdrom = xyes; then