Restore evdev sources to configure script

This commit is contained in:
Gabriel Jacobo 2013-11-17 10:41:16 -03:00
parent 9dd923fb9a
commit ec080ff892
2 changed files with 8 additions and 0 deletions

4
configure vendored
View File

@ -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 if test x$enable_libudev = xyes && test x$have_libudev_h_hdr = xyes; then
SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c" SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c"
fi 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*) *-*-cygwin* | *-*-mingw32*)
ARCH=win32 ARCH=win32

View File

@ -2507,6 +2507,10 @@ case "$host" in
if test x$enable_libudev = xyes && test x$have_libudev_h_hdr = xyes; then if test x$enable_libudev = xyes && test x$have_libudev_h_hdr = xyes; then
SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c" SOURCES="$SOURCES $srcdir/src/core/linux/SDL_udev.c"
fi 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*) *-*-cygwin* | *-*-mingw32*)
ARCH=win32 ARCH=win32