mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
add audio/video dummies if nothing else available II.
This commit is contained in:
16
configure
vendored
16
configure
vendored
@@ -26893,6 +26893,22 @@ INSTALL_SDL2_CONFIG=$enable_sdl2_config
|
||||
|
||||
# Verify that we have all the platform specific files we need
|
||||
|
||||
if test x$have_audio != xyes; then
|
||||
if test x$enable_audio = xyes; then
|
||||
|
||||
$as_echo "#define SDL_AUDIO_DRIVER_DUMMY 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
|
||||
fi
|
||||
if test x$have_video != xyes; then
|
||||
if test x$enable_video = xyes; then
|
||||
|
||||
$as_echo "#define SDL_VIDEO_DRIVER_DUMMY 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
SOURCES="$SOURCES $srcdir/src/video/dummy/*.c"
|
||||
fi
|
||||
if test x$have_misc != xyes; then
|
||||
if test x$enable_misc = xyes; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user