From 02ea14d8217a3289eb8bfc0f75935fc8eed09572 Mon Sep 17 00:00:00 2001 From: Edgar Simo Date: Tue, 12 Aug 2008 20:46:39 +0000 Subject: [PATCH] Made LINUXEV required for haptic. --- configure.in | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/configure.in b/configure.in index 467d058f8..e1c7e39ca 100644 --- a/configure.in +++ b/configure.in @@ -2186,13 +2186,15 @@ case "$host" in 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