From ec080ff89211a6ae88189907b73740b6e6c1b4bf Mon Sep 17 00:00:00 2001 From: Gabriel Jacobo Date: Sun, 17 Nov 2013 10:41:16 -0300 Subject: [PATCH] Restore evdev sources to configure script --- configure | 4 ++++ configure.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/configure b/configure index d5bcc80d7..968edc2ee 100755 --- a/configure +++ b/configure @@ -22241,6 +22241,10 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h 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 diff --git a/configure.in b/configure.in index 993964f7a..6cde4ee45 100644 --- a/configure.in +++ b/configure.in @@ -2507,6 +2507,10 @@ case "$host" in 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