configure.in
branchgsoc2008_force_feedback
changeset 2509 3b54b3a97046
parent 2508 f23cee9e16fc
child 2545 0e63e7e4a986
     1.1 --- a/configure.in	Wed Jul 09 16:33:51 2008 +0000
     1.2 +++ b/configure.in	Wed Jul 09 17:06:54 2008 +0000
     1.3 @@ -2580,10 +2580,11 @@
     1.4      SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
     1.5    fi
     1.6  fi
     1.7 -if test x$enable_haptic = xyes; then
     1.8 -  if test x$have_haptic != xyes; then
     1.9 +if test x$have_haptic != xyes; then
    1.10 +    if test x$enable_haptic = xyes; then
    1.11 +        AC_DEFINE(SDL_HAPTIC_DISABLED)
    1.12 +    fi
    1.13      SOURCES="$SOURCES $srcdir/src/haptic/dummy/*.c"
    1.14 -  fi
    1.15  fi
    1.16  if test x$have_cdrom != xyes; then
    1.17      if test x$enable_cdrom = xyes; then