diff configure.in @ 2509:3b54b3a97046 gsoc2008_force_feedback

Dummy SDL haptic driver finally builds now.
author Edgar Simo <bobbens@gmail.com>
date Wed, 09 Jul 2008 17:06:54 +0000
parents f23cee9e16fc
children 0e63e7e4a986
line wrap: on
line diff
--- 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