Restore evdev sources to configure script
authorGabriel Jacobo <gabomdq@gmail.com>
Sun, 17 Nov 2013 10:41:16 -0300
changeset 8006 a906369d3f8e
parent 8005 d8edfca6e3c2
child 8007 f4264c673a8d
Restore evdev sources to configure script
configure
configure.in
--- a/configure	Sat Nov 16 21:19:16 2013 -0800
+++ b/configure	Sun Nov 17 10:41:16 2013 -0300
@@ -22241,6 +22241,10 @@
         if test x$enable_libudev = xyes && test x$have_libudev_h_hdr = xyes; then
             SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c"
         fi
+        # Set up files for evdev input
+        if test x$use_input_events = xyes; then
+            SOURCES="$SOURCES $srcdir/src/core/linux/SDL_evdev.c"
+        fi
         ;;
     *-*-cygwin* | *-*-mingw32*)
         ARCH=win32
--- a/configure.in	Sat Nov 16 21:19:16 2013 -0800
+++ b/configure.in	Sun Nov 17 10:41:16 2013 -0300
@@ -2507,6 +2507,10 @@
         if test x$enable_libudev = xyes && test x$have_libudev_h_hdr = xyes; then
             SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c"               
         fi
+        # Set up files for evdev input
+        if test x$use_input_events = xyes; then
+            SOURCES="$SOURCES $srcdir/src/core/linux/SDL_evdev.c"
+        fi       
         ;;
     *-*-cygwin* | *-*-mingw32*)
         ARCH=win32