switch: update configure.ac, regenerate configure

This commit is contained in:
cpasjuste 2020-04-05 14:21:16 +02:00 committed by Dave Murphy
parent 088d2b287e
commit 971b372465
2 changed files with 4 additions and 17 deletions

5
configure vendored
View File

@ -25629,7 +25629,6 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
EXTRA_CFLAGS="$EXTRA_CFLAGS -DSDL_VIDEO_STATIC_ANGLE"
EXTRA_LDFLAGS="-march=armv8-a -fPIE -L${DEVKITPRO}/libnx/lib -lEGL -lglapi -ldrm_nouveau -lnx"
CheckDeclarationAfterStatement
CheckClockGettime
# Set up files for the video library
if test x$enable_video = xyes; then
@ -25672,9 +25671,9 @@ $as_echo "#define SDL_JOYSTICK_SWITCH 1" >>confdefs.h
# Set up files for the timer library
if test x$enable_timers = xyes; then
$as_echo "#define SDL_TIMER_SWITCH 1" >>confdefs.h
$as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
SOURCES="$SOURCES $srcdir/src/timer/switch/*.c"
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
have_timers=yes
fi
# Set up files for the thread library

View File

@ -4267,22 +4267,10 @@ AS_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
fi
# Set up files for the timer library
if test x$enable_timers = xyes; then
AC_DEFINE(SDL_TIMER_SWITCH, 1, [ ])
SOURCES="$SOURCES $srcdir/src/timer/switch/*.c"
AC_DEFINE(SDL_TIMER_UNIX, 1, [ ])
SOURCES="$SOURCES $srcdir/src/timer/unix/*.c"
have_timers=yes
fi
# Set up files for the system power library
if test x$enable_power = xyes; then
AC_DEFINE(SDL_POWER_SWITCH, 1, [ ])
SOURCES="$SOURCES $srcdir/src/power/switch/*.c"
have_power=yes
fi
# Set up files for the system filesystem library
if test x$enable_filesystem = xyes; then
AC_DEFINE(SDL_FILESYSTEM_SWITCH, 1, [ ])
SOURCES="$SOURCES $srcdir/src/filesystem/switch/*.c"
have_filesystem=yes
fi
# Set up files for the thread library
if test x$enable_threads = xyes; then
AC_DEFINE(SDL_THREAD_SWITCH, 1, [ ])