[SVN] r3943 - branches/gsoc2008_force_feedback

svn-owner at libsdl.org svn-owner at libsdl.org
Tue Aug 12 13:46:40 PDT 2008


Author: bobbens
Date: 2008-08-12 13:46:39 -0700 (Tue, 12 Aug 2008)
New Revision: 3943

Modified:
   branches/gsoc2008_force_feedback/configure.in
Log:
Made LINUXEV required for haptic.


Modified: branches/gsoc2008_force_feedback/configure.in
===================================================================
--- branches/gsoc2008_force_feedback/configure.in	2008-08-12 13:02:27 UTC (rev 3942)
+++ branches/gsoc2008_force_feedback/configure.in	2008-08-12 20:46:39 UTC (rev 3943)
@@ -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



More information about the SVN mailing list