# HG changeset patch # User Edgar Simo # Date 1218573999 0 # Node ID 91fd5d3cb90e5086cc424ab115f9ec433af2d677 # Parent b04679da66272136e10c86322b8d154f71782a0a Made LINUXEV required for haptic. diff -r b04679da6627 -r 91fd5d3cb90e configure.in --- a/configure.in Mon Aug 11 15:29:28 2008 +0000 +++ b/configure.in Tue Aug 12 20:46:39 2008 +0000 @@ -2186,13 +2186,15 @@ fi # Set up files for the haptic library if test x$enable_haptic = xyes; then - case $ARCH in - linux) - AC_DEFINE(SDL_HAPTIC_LINUX) - SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c" - have_haptic=yes - ;; - esac + if test x$use_input_events = xyes; then + case $ARCH in + linux) + AC_DEFINE(SDL_HAPTIC_LINUX) + SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c" + have_haptic=yes + ;; + esac + fi fi # Set up files for the cdrom library if test x$enable_cdrom = xyes; then