Made LINUXEV required for haptic. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Tue, 12 Aug 2008 20:46:39 +0000
branchgsoc2008_force_feedback
changeset 264391fd5d3cb90e
parent 2642 b04679da6627
child 2644 ef0ba67154c1
Made LINUXEV required for haptic.
configure.in
     1.1 --- a/configure.in	Mon Aug 11 15:29:28 2008 +0000
     1.2 +++ b/configure.in	Tue Aug 12 20:46:39 2008 +0000
     1.3 @@ -2186,13 +2186,15 @@
     1.4          fi
     1.5          # Set up files for the haptic library
     1.6          if test x$enable_haptic = xyes; then
     1.7 -          case $ARCH in
     1.8 -            linux)
     1.9 -                AC_DEFINE(SDL_HAPTIC_LINUX)
    1.10 -                SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c"
    1.11 -                have_haptic=yes
    1.12 -            ;;
    1.13 -          esac
    1.14 +           if test x$use_input_events = xyes; then
    1.15 +             case $ARCH in
    1.16 +               linux)
    1.17 +                   AC_DEFINE(SDL_HAPTIC_LINUX)
    1.18 +                   SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c"
    1.19 +                   have_haptic=yes
    1.20 +               ;;
    1.21 +             esac
    1.22 +           fi
    1.23          fi
    1.24          # Set up files for the cdrom library
    1.25          if test x$enable_cdrom = xyes; then