mirror of https://github.com/encounter/SDL.git
configure: fix wrong AS_HELP_STRING quoting.
This commit is contained in:
parent
b6b0c908bd
commit
bd06538778
|
@ -1570,142 +1570,140 @@ Optional Features:
|
||||||
--disable-libtool-lock avoid locking (might break parallel builds)
|
--disable-libtool-lock avoid locking (might break parallel builds)
|
||||||
--enable-assertions Enable internal sanity checks
|
--enable-assertions Enable internal sanity checks
|
||||||
(auto/disabled/release/enabled/paranoid)
|
(auto/disabled/release/enabled/paranoid)
|
||||||
[[default=auto]]
|
[default=auto]
|
||||||
--enable-dependency-tracking
|
--enable-dependency-tracking
|
||||||
Use gcc -MMD -MT dependency tracking [[default=yes]]
|
Use gcc -MMD -MT dependency tracking [default=yes]
|
||||||
--enable-libc Use the system C library [[default=yes]]
|
--enable-libc Use the system C library [default=yes]
|
||||||
--enable-gcc-atomics Use gcc builtin atomics [[default=yes]]
|
--enable-gcc-atomics Use gcc builtin atomics [default=yes]
|
||||||
--enable-atomic Enable the atomic operations subsystem
|
--enable-atomic Enable the atomic operations subsystem [default=yes]
|
||||||
[[default=yes]]
|
--enable-audio Enable the audio subsystem [default=yes]
|
||||||
--enable-audio Enable the audio subsystem [[default=yes]]
|
--enable-video Enable the video subsystem [default=yes]
|
||||||
--enable-video Enable the video subsystem [[default=yes]]
|
--enable-render Enable the render subsystem [default=yes]
|
||||||
--enable-render Enable the render subsystem [[default=yes]]
|
--enable-events Enable the events subsystem [default=yes]
|
||||||
--enable-events Enable the events subsystem [[default=yes]]
|
--enable-joystick Enable the joystick subsystem [default=yes]
|
||||||
--enable-joystick Enable the joystick subsystem [[default=yes]]
|
|
||||||
--enable-haptic Enable the haptic (force feedback) subsystem
|
--enable-haptic Enable the haptic (force feedback) subsystem
|
||||||
[[default=yes]]
|
[default=yes]
|
||||||
--enable-sensor Enable the sensor subsystem [[default=yes]]
|
--enable-sensor Enable the sensor subsystem [default=yes]
|
||||||
--enable-power Enable the power subsystem [[default=yes]]
|
--enable-power Enable the power subsystem [default=yes]
|
||||||
--enable-filesystem Enable the filesystem subsystem [[default=yes]]
|
--enable-filesystem Enable the filesystem subsystem [default=yes]
|
||||||
--enable-threads Enable the threading subsystem [[default=yes]]
|
--enable-threads Enable the threading subsystem [default=yes]
|
||||||
--enable-timers Enable the timer subsystem [[default=yes]]
|
--enable-timers Enable the timer subsystem [default=yes]
|
||||||
--enable-file Enable the file subsystem [[default=yes]]
|
--enable-file Enable the file subsystem [default=yes]
|
||||||
--enable-loadso Enable the shared object loading subsystem
|
--enable-loadso Enable the shared object loading subsystem
|
||||||
[[default=yes]]
|
[default=yes]
|
||||||
--enable-cpuinfo Enable the cpuinfo subsystem [[default=yes]]
|
--enable-cpuinfo Enable the cpuinfo subsystem [default=yes]
|
||||||
--enable-assembly Enable assembly routines [[default=yes]]
|
--enable-assembly Enable assembly routines [default=yes]
|
||||||
--enable-ssemath Allow GCC to use SSE floating point math
|
--enable-ssemath Allow GCC to use SSE floating point math
|
||||||
[[default=maybe]]
|
[default=maybe]
|
||||||
--enable-mmx use MMX assembly routines [[default=yes]]
|
--enable-mmx use MMX assembly routines [default=yes]
|
||||||
--enable-3dnow use 3DNow! assembly routines [[default=yes]]
|
--enable-3dnow use 3DNow! assembly routines [default=yes]
|
||||||
--enable-sse use SSE assembly routines [[default=yes]]
|
--enable-sse use SSE assembly routines [default=yes]
|
||||||
--enable-sse2 use SSE2 assembly routines [[default=maybe]]
|
--enable-sse2 use SSE2 assembly routines [default=maybe]
|
||||||
--enable-sse3 use SSE3 assembly routines [[default=maybe]]
|
--enable-sse3 use SSE3 assembly routines [default=maybe]
|
||||||
--enable-altivec use Altivec assembly routines [[default=yes]]
|
--enable-altivec use Altivec assembly routines [default=yes]
|
||||||
--enable-oss support the OSS audio API [[default=maybe]]
|
--enable-oss support the OSS audio API [default=maybe]
|
||||||
--enable-alsa support the ALSA audio API [[default=yes]]
|
--enable-alsa support the ALSA audio API [default=yes]
|
||||||
--disable-alsatest Do not try to compile and run a test Alsa program
|
--disable-alsatest Do not try to compile and run a test Alsa program
|
||||||
--enable-alsa-shared dynamically load ALSA audio support [[default=yes]]
|
--enable-alsa-shared dynamically load ALSA audio support [default=yes]
|
||||||
--enable-jack use JACK audio [[default=yes]]
|
--enable-jack use JACK audio [default=yes]
|
||||||
--enable-jack-shared dynamically load JACK audio support [[default=yes]]
|
--enable-jack-shared dynamically load JACK audio support [default=yes]
|
||||||
--enable-esd support the Enlightened Sound Daemon [[default=yes]]
|
--enable-esd support the Enlightened Sound Daemon [default=yes]
|
||||||
--disable-esdtest Do not try to compile and run a test ESD program
|
--disable-esdtest Do not try to compile and run a test ESD program
|
||||||
--enable-esd-shared dynamically load ESD audio support [[default=yes]]
|
--enable-esd-shared dynamically load ESD audio support [default=yes]
|
||||||
--enable-pipewire use Pipewire audio [[default=yes]]
|
--enable-pipewire use Pipewire audio [default=yes]
|
||||||
--enable-pipewire-shared
|
--enable-pipewire-shared
|
||||||
dynamically load Pipewire support [[default=yes]]
|
dynamically load Pipewire support [default=yes]
|
||||||
--enable-pulseaudio use PulseAudio [[default=yes]]
|
--enable-pulseaudio use PulseAudio [default=yes]
|
||||||
--enable-pulseaudio-shared
|
--enable-pulseaudio-shared
|
||||||
dynamically load PulseAudio support [[default=yes]]
|
dynamically load PulseAudio support [default=yes]
|
||||||
--enable-arts support the Analog Real Time Synthesizer
|
--enable-arts support the Analog Real Time Synthesizer
|
||||||
[[default=yes]]
|
[default=yes]
|
||||||
--enable-arts-shared dynamically load aRts audio support [[default=yes]]
|
--enable-arts-shared dynamically load aRts audio support [default=yes]
|
||||||
--enable-nas support the NAS audio API [[default=yes]]
|
--enable-nas support the NAS audio API [default=yes]
|
||||||
--enable-nas-shared dynamically load NAS audio support [[default=yes]]
|
--enable-nas-shared dynamically load NAS audio support [default=yes]
|
||||||
--enable-sndio support the sndio audio API [[default=yes]]
|
--enable-sndio support the sndio audio API [default=yes]
|
||||||
--enable-sndio-shared dynamically load sndio audio support [[default=yes]]
|
--enable-sndio-shared dynamically load sndio audio support [default=yes]
|
||||||
--enable-fusionsound use FusionSound audio driver [[default=no]]
|
--enable-fusionsound use FusionSound audio driver [default=no]
|
||||||
--enable-fusionsound-shared
|
--enable-fusionsound-shared
|
||||||
dynamically load fusionsound audio support
|
dynamically load fusionsound audio support
|
||||||
[[default=yes]]
|
[default=yes]
|
||||||
--enable-diskaudio support the disk writer audio driver [[default=yes]]
|
--enable-diskaudio support the disk writer audio driver [default=yes]
|
||||||
--enable-dummyaudio support the dummy audio driver [[default=yes]]
|
--enable-dummyaudio support the dummy audio driver [default=yes]
|
||||||
--enable-libsamplerate use libsamplerate for audio rate conversion
|
--enable-libsamplerate use libsamplerate for audio rate conversion
|
||||||
[[default=yes]]
|
[default=yes]
|
||||||
--enable-libsamplerate-shared
|
--enable-libsamplerate-shared
|
||||||
dynamically load libsamplerate [[default=yes]]
|
dynamically load libsamplerate [default=yes]
|
||||||
--enable-arm-simd use SIMD assembly blitters on ARM [[default=no]]
|
--enable-arm-simd use SIMD assembly blitters on ARM [default=no]
|
||||||
--enable-arm-neon use NEON assembly blitters on ARM [[default=no]]
|
--enable-arm-neon use NEON assembly blitters on ARM [default=no]
|
||||||
--enable-video-wayland use Wayland video driver [[default=yes]]
|
--enable-video-wayland use Wayland video driver [default=yes]
|
||||||
--enable-video-wayland-qt-touch
|
--enable-video-wayland-qt-touch
|
||||||
QtWayland server support for Wayland video driver
|
QtWayland server support for Wayland video driver
|
||||||
[[default=yes]]
|
[default=yes]
|
||||||
--enable-wayland-shared dynamically load Wayland support [[default=maybe]]
|
--enable-wayland-shared dynamically load Wayland support [default=maybe]
|
||||||
--enable-video-rpi use Raspberry Pi video driver [[default=yes]]
|
--enable-video-rpi use Raspberry Pi video driver [default=yes]
|
||||||
--enable-video-x11 use X11 video driver [[default=yes]]
|
--enable-video-x11 use X11 video driver [default=yes]
|
||||||
--enable-x11-shared dynamically load X11 support [[default=maybe]]
|
--enable-x11-shared dynamically load X11 support [default=maybe]
|
||||||
--enable-video-x11-xcursor
|
--enable-video-x11-xcursor
|
||||||
enable X11 Xcursor support [[default=yes]]
|
enable X11 Xcursor support [default=yes]
|
||||||
--enable-video-x11-xdbe enable X11 Xdbe support [[default=yes]]
|
--enable-video-x11-xdbe enable X11 Xdbe support [default=yes]
|
||||||
--enable-video-x11-xinerama
|
--enable-video-x11-xinerama
|
||||||
enable X11 Xinerama support [[default=yes]]
|
enable X11 Xinerama support [default=yes]
|
||||||
--enable-video-x11-xinput
|
--enable-video-x11-xinput
|
||||||
enable X11 XInput extension for manymouse, tablets,
|
enable X11 XInput extension for manymouse, tablets,
|
||||||
etc [[default=yes]]
|
etc [default=yes]
|
||||||
--enable-video-x11-xrandr
|
--enable-video-x11-xrandr
|
||||||
enable X11 Xrandr extension for fullscreen
|
enable X11 Xrandr extension for fullscreen
|
||||||
[[default=yes]]
|
[default=yes]
|
||||||
--enable-video-x11-scrnsaver
|
--enable-video-x11-scrnsaver
|
||||||
enable X11 screensaver extension [[default=yes]]
|
enable X11 screensaver extension [default=yes]
|
||||||
--enable-video-x11-xshape
|
--enable-video-x11-xshape
|
||||||
enable X11 XShape support [[default=yes]]
|
enable X11 XShape support [default=yes]
|
||||||
--enable-video-x11-vm use X11 VM extension for fullscreen [[default=yes]]
|
--enable-video-x11-vm use X11 VM extension for fullscreen [default=yes]
|
||||||
--enable-video-vivante use Vivante EGL video driver [[default=yes]]
|
--enable-video-vivante use Vivante EGL video driver [default=yes]
|
||||||
--enable-video-cocoa use Cocoa video driver [[default=yes]]
|
--enable-video-cocoa use Cocoa video driver [default=yes]
|
||||||
--enable-video-metal include Metal support [[default=yes]]
|
--enable-video-metal include Metal support [default=yes]
|
||||||
--enable-render-metal enable the Metal render driver [[default=yes]]
|
--enable-render-metal enable the Metal render driver [default=yes]
|
||||||
--enable-video-directfb use DirectFB video driver [[default=no]]
|
--enable-video-directfb use DirectFB video driver [default=no]
|
||||||
--enable-directfb-shared
|
--enable-directfb-shared
|
||||||
dynamically load directfb support [[default=yes]]
|
dynamically load directfb support [default=yes]
|
||||||
--enable-video-kmsdrm use KMSDRM video driver [[default=no]]
|
--enable-video-kmsdrm use KMSDRM video driver [default=no]
|
||||||
--enable-kmsdrm-shared dynamically load kmsdrm support [[default=yes]]
|
--enable-kmsdrm-shared dynamically load kmsdrm support [default=yes]
|
||||||
--enable-video-dummy use dummy video driver [[default=yes]]
|
--enable-video-dummy use dummy video driver [default=yes]
|
||||||
--enable-video-opengl include OpenGL support [[default=yes]]
|
--enable-video-opengl include OpenGL support [default=yes]
|
||||||
--enable-video-opengles include OpenGL ES support [[default=yes]]
|
--enable-video-opengles include OpenGL ES support [default=yes]
|
||||||
--enable-video-opengles1
|
--enable-video-opengles1
|
||||||
include OpenGL ES 1.1 support [[default=yes]]
|
include OpenGL ES 1.1 support [default=yes]
|
||||||
--enable-video-opengles2
|
--enable-video-opengles2
|
||||||
include OpenGL ES 2.0 support [[default=yes]]
|
include OpenGL ES 2.0 support [default=yes]
|
||||||
--enable-video-vulkan include Vulkan support [[default=yes]]
|
--enable-video-vulkan include Vulkan support [default=yes]
|
||||||
--enable-libudev enable libudev support [[default=yes]]
|
--enable-libudev enable libudev support [default=yes]
|
||||||
--enable-dbus enable D-Bus support [[default=yes]]
|
--enable-dbus enable D-Bus support [default=yes]
|
||||||
--enable-ime enable IME support [[default=yes]]
|
--enable-ime enable IME support [default=yes]
|
||||||
--enable-ibus enable IBus support [[default=yes]]
|
--enable-ibus enable IBus support [default=yes]
|
||||||
--enable-fcitx enable fcitx support [[default=yes]]
|
--enable-fcitx enable fcitx support [default=yes]
|
||||||
--enable-joystick-mfi include macOS MFI joystick support [[default=yes]]
|
--enable-joystick-mfi include macOS MFI joystick support [default=yes]
|
||||||
--enable-pthreads use POSIX threads for multi-threading
|
--enable-pthreads use POSIX threads for multi-threading [default=yes]
|
||||||
[[default=yes]]
|
--enable-pthread-sem use pthread semaphores [default=yes]
|
||||||
--enable-pthread-sem use pthread semaphores [[default=yes]]
|
--enable-directx use DirectX for Windows audio/video [default=yes]
|
||||||
--enable-directx use DirectX for Windows audio/video [[default=yes]]
|
--enable-xinput use Xinput for Windows [default=yes]
|
||||||
--enable-xinput use Xinput for Windows [[default=yes]]
|
--enable-wasapi use the Windows WASAPI audio driver [default=yes]
|
||||||
--enable-wasapi use the Windows WASAPI audio driver [[default=yes]]
|
--enable-sdl-dlopen use dlopen for shared object loading [default=yes]
|
||||||
--enable-sdl-dlopen use dlopen for shared object loading [[default=yes]]
|
|
||||||
--enable-hidapi use HIDAPI for low level joystick drivers
|
--enable-hidapi use HIDAPI for low level joystick drivers
|
||||||
[[default=yes]]
|
[default=yes]
|
||||||
--enable-hidapi-libusb use libusb for low level joystick drivers
|
--enable-hidapi-libusb use libusb for low level joystick drivers
|
||||||
[[default=maybe]]
|
[default=maybe]
|
||||||
--enable-clock_gettime use clock_gettime() instead of gettimeofday() on
|
--enable-clock_gettime use clock_gettime() instead of gettimeofday() on
|
||||||
UNIX [[default=yes]]
|
UNIX [default=yes]
|
||||||
--enable-rpath use an rpath when linking SDL [[default=yes]]
|
--enable-rpath use an rpath when linking SDL [default=yes]
|
||||||
--enable-backgrounding-signal
|
--enable-backgrounding-signal
|
||||||
number to use for magic backgrounding signal or 'no'
|
number to use for magic backgrounding signal or 'no'
|
||||||
[[default=no]]
|
[default=no]
|
||||||
--enable-foregrounding-signal
|
--enable-foregrounding-signal
|
||||||
number to use for magic foregrounding signal or 'no'
|
number to use for magic foregrounding signal or 'no'
|
||||||
[[default=no]]
|
[default=no]
|
||||||
--enable-joystick-virtual
|
--enable-joystick-virtual
|
||||||
enable virtual joystick APIs [[default=yes]]
|
enable virtual joystick APIs [default=yes]
|
||||||
--enable-render-d3d enable the Direct3D render driver [[default=yes]]
|
--enable-render-d3d enable the Direct3D render driver [default=yes]
|
||||||
--enable-sdl2-config Install sdl2-config [default=yes]
|
--enable-sdl2-config Install sdl2-config [default=yes]
|
||||||
|
|
||||||
Optional Packages:
|
Optional Packages:
|
||||||
|
|
208
configure.ac
208
configure.ac
|
@ -184,8 +184,8 @@ AC_C_VOLATILE
|
||||||
|
|
||||||
dnl See whether we want assertions for debugging/sanity checking SDL itself.
|
dnl See whether we want assertions for debugging/sanity checking SDL itself.
|
||||||
AC_ARG_ENABLE(assertions,
|
AC_ARG_ENABLE(assertions,
|
||||||
AS_HELP_STRING([--enable-assertions],
|
[AS_HELP_STRING([--enable-assertions],
|
||||||
[Enable internal sanity checks (auto/disabled/release/enabled/paranoid) [[default=auto]]]),
|
[Enable internal sanity checks (auto/disabled/release/enabled/paranoid) [default=auto]])],
|
||||||
, enable_assertions=auto)
|
, enable_assertions=auto)
|
||||||
case "$enable_assertions" in
|
case "$enable_assertions" in
|
||||||
auto) # Use optimization settings to determine assertion level
|
auto) # Use optimization settings to determine assertion level
|
||||||
|
@ -209,8 +209,8 @@ esac
|
||||||
|
|
||||||
dnl See whether we can use gcc style dependency tracking
|
dnl See whether we can use gcc style dependency tracking
|
||||||
AC_ARG_ENABLE(dependency-tracking,
|
AC_ARG_ENABLE(dependency-tracking,
|
||||||
AS_HELP_STRING([--enable-dependency-tracking],
|
[AS_HELP_STRING([--enable-dependency-tracking],
|
||||||
[Use gcc -MMD -MT dependency tracking [[default=yes]]]),
|
[Use gcc -MMD -MT dependency tracking [default=yes]])],
|
||||||
, enable_dependency_tracking=yes)
|
, enable_dependency_tracking=yes)
|
||||||
if test x$enable_dependency_tracking = xyes; then
|
if test x$enable_dependency_tracking = xyes; then
|
||||||
have_gcc_mmd_mt=no
|
have_gcc_mmd_mt=no
|
||||||
|
@ -304,7 +304,7 @@ AC_MSG_RESULT($have_high_entropy_va)
|
||||||
|
|
||||||
dnl See whether we are allowed to use the system C library
|
dnl See whether we are allowed to use the system C library
|
||||||
AC_ARG_ENABLE(libc,
|
AC_ARG_ENABLE(libc,
|
||||||
AS_HELP_STRING([--enable-libc], [Use the system C library [[default=yes]]]),
|
[AS_HELP_STRING([--enable-libc], [Use the system C library [default=yes]])],
|
||||||
, enable_libc=yes)
|
, enable_libc=yes)
|
||||||
if test x$enable_libc = xyes; then
|
if test x$enable_libc = xyes; then
|
||||||
AC_DEFINE(HAVE_LIBC, 1, [ ])
|
AC_DEFINE(HAVE_LIBC, 1, [ ])
|
||||||
|
@ -363,8 +363,8 @@ dnl AC_CHECK_SIZEOF(void*)
|
||||||
|
|
||||||
dnl See whether we can use gcc atomic operations on this architecture
|
dnl See whether we can use gcc atomic operations on this architecture
|
||||||
AC_ARG_ENABLE(gcc-atomics,
|
AC_ARG_ENABLE(gcc-atomics,
|
||||||
AS_HELP_STRING([--enable-gcc-atomics],
|
[AS_HELP_STRING([--enable-gcc-atomics],
|
||||||
[Use gcc builtin atomics [[default=yes]]]),
|
[Use gcc builtin atomics [default=yes]])],
|
||||||
, enable_gcc_atomics=yes)
|
, enable_gcc_atomics=yes)
|
||||||
if test x$enable_gcc_atomics = xyes; then
|
if test x$enable_gcc_atomics = xyes; then
|
||||||
have_gcc_atomics=no
|
have_gcc_atomics=no
|
||||||
|
@ -428,7 +428,7 @@ SOURCES="$SOURCES $srcdir/src/locale/*.c"
|
||||||
dnl Enable/disable various subsystems of the SDL library
|
dnl Enable/disable various subsystems of the SDL library
|
||||||
|
|
||||||
AC_ARG_ENABLE(atomic,
|
AC_ARG_ENABLE(atomic,
|
||||||
AS_HELP_STRING([--enable-atomic], [Enable the atomic operations subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-atomic], [Enable the atomic operations subsystem [default=yes]])],
|
||||||
, enable_atomic=yes)
|
, enable_atomic=yes)
|
||||||
if test x$enable_atomic != xyes; then
|
if test x$enable_atomic != xyes; then
|
||||||
AC_DEFINE(SDL_ATOMIC_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_ATOMIC_DISABLED, 1, [ ])
|
||||||
|
@ -436,7 +436,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} atomic"
|
SUMMARY_modules="${SUMMARY_modules} atomic"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(audio,
|
AC_ARG_ENABLE(audio,
|
||||||
AS_HELP_STRING([--enable-audio], [Enable the audio subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-audio], [Enable the audio subsystem [default=yes]])],
|
||||||
, enable_audio=yes)
|
, enable_audio=yes)
|
||||||
if test x$enable_audio != xyes; then
|
if test x$enable_audio != xyes; then
|
||||||
AC_DEFINE(SDL_AUDIO_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DISABLED, 1, [ ])
|
||||||
|
@ -444,7 +444,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} audio"
|
SUMMARY_modules="${SUMMARY_modules} audio"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(video,
|
AC_ARG_ENABLE(video,
|
||||||
AS_HELP_STRING([--enable-video], [Enable the video subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video], [Enable the video subsystem [default=yes]])],
|
||||||
, enable_video=yes)
|
, enable_video=yes)
|
||||||
if test x$enable_video != xyes; then
|
if test x$enable_video != xyes; then
|
||||||
AC_DEFINE(SDL_VIDEO_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DISABLED, 1, [ ])
|
||||||
|
@ -452,7 +452,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} video"
|
SUMMARY_modules="${SUMMARY_modules} video"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(render,
|
AC_ARG_ENABLE(render,
|
||||||
AS_HELP_STRING([--enable-render], [Enable the render subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-render], [Enable the render subsystem [default=yes]])],
|
||||||
, enable_render=yes)
|
, enable_render=yes)
|
||||||
if test x$enable_render != xyes; then
|
if test x$enable_render != xyes; then
|
||||||
AC_DEFINE(SDL_RENDER_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_RENDER_DISABLED, 1, [ ])
|
||||||
|
@ -460,7 +460,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} render"
|
SUMMARY_modules="${SUMMARY_modules} render"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(events,
|
AC_ARG_ENABLE(events,
|
||||||
AS_HELP_STRING([--enable-events], [Enable the events subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-events], [Enable the events subsystem [default=yes]])],
|
||||||
, enable_events=yes)
|
, enable_events=yes)
|
||||||
if test x$enable_events != xyes; then
|
if test x$enable_events != xyes; then
|
||||||
AC_DEFINE(SDL_EVENTS_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_EVENTS_DISABLED, 1, [ ])
|
||||||
|
@ -468,7 +468,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} events"
|
SUMMARY_modules="${SUMMARY_modules} events"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(joystick,
|
AC_ARG_ENABLE(joystick,
|
||||||
AS_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [default=yes]])],
|
||||||
, enable_joystick=yes)
|
, enable_joystick=yes)
|
||||||
if test x$enable_joystick != xyes; then
|
if test x$enable_joystick != xyes; then
|
||||||
AC_DEFINE(SDL_JOYSTICK_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_JOYSTICK_DISABLED, 1, [ ])
|
||||||
|
@ -476,7 +476,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} joystick"
|
SUMMARY_modules="${SUMMARY_modules} joystick"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(haptic,
|
AC_ARG_ENABLE(haptic,
|
||||||
AS_HELP_STRING([--enable-haptic], [Enable the haptic (force feedback) subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-haptic], [Enable the haptic (force feedback) subsystem [default=yes]])],
|
||||||
, enable_haptic=yes)
|
, enable_haptic=yes)
|
||||||
if test x$enable_haptic != xyes; then
|
if test x$enable_haptic != xyes; then
|
||||||
AC_DEFINE(SDL_HAPTIC_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_HAPTIC_DISABLED, 1, [ ])
|
||||||
|
@ -484,7 +484,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} haptic"
|
SUMMARY_modules="${SUMMARY_modules} haptic"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(sensor,
|
AC_ARG_ENABLE(sensor,
|
||||||
AS_HELP_STRING([--enable-sensor], [Enable the sensor subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-sensor], [Enable the sensor subsystem [default=yes]])],
|
||||||
, enable_sensor=yes)
|
, enable_sensor=yes)
|
||||||
if test x$enable_sensor != xyes; then
|
if test x$enable_sensor != xyes; then
|
||||||
AC_DEFINE(SDL_SENSOR_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_SENSOR_DISABLED, 1, [ ])
|
||||||
|
@ -492,7 +492,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} sensor"
|
SUMMARY_modules="${SUMMARY_modules} sensor"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(power,
|
AC_ARG_ENABLE(power,
|
||||||
AS_HELP_STRING([--enable-power], [Enable the power subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-power], [Enable the power subsystem [default=yes]])],
|
||||||
, enable_power=yes)
|
, enable_power=yes)
|
||||||
if test x$enable_power != xyes; then
|
if test x$enable_power != xyes; then
|
||||||
AC_DEFINE(SDL_POWER_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_POWER_DISABLED, 1, [ ])
|
||||||
|
@ -500,7 +500,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} power"
|
SUMMARY_modules="${SUMMARY_modules} power"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(filesystem,
|
AC_ARG_ENABLE(filesystem,
|
||||||
AS_HELP_STRING([--enable-filesystem], [Enable the filesystem subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-filesystem], [Enable the filesystem subsystem [default=yes]])],
|
||||||
, enable_filesystem=yes)
|
, enable_filesystem=yes)
|
||||||
if test x$enable_filesystem != xyes; then
|
if test x$enable_filesystem != xyes; then
|
||||||
AC_DEFINE(SDL_FILESYSTEM_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_FILESYSTEM_DISABLED, 1, [ ])
|
||||||
|
@ -508,7 +508,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} filesystem"
|
SUMMARY_modules="${SUMMARY_modules} filesystem"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(threads,
|
AC_ARG_ENABLE(threads,
|
||||||
AS_HELP_STRING([--enable-threads], [Enable the threading subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-threads], [Enable the threading subsystem [default=yes]])],
|
||||||
, enable_threads=yes)
|
, enable_threads=yes)
|
||||||
if test x$enable_threads != xyes; then
|
if test x$enable_threads != xyes; then
|
||||||
AC_DEFINE(SDL_THREADS_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_THREADS_DISABLED, 1, [ ])
|
||||||
|
@ -516,7 +516,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} threads"
|
SUMMARY_modules="${SUMMARY_modules} threads"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(timers,
|
AC_ARG_ENABLE(timers,
|
||||||
AS_HELP_STRING([--enable-timers], [Enable the timer subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-timers], [Enable the timer subsystem [default=yes]])],
|
||||||
, enable_timers=yes)
|
, enable_timers=yes)
|
||||||
if test x$enable_timers != xyes; then
|
if test x$enable_timers != xyes; then
|
||||||
AC_DEFINE(SDL_TIMERS_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_TIMERS_DISABLED, 1, [ ])
|
||||||
|
@ -524,7 +524,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} timers"
|
SUMMARY_modules="${SUMMARY_modules} timers"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(file,
|
AC_ARG_ENABLE(file,
|
||||||
AS_HELP_STRING([--enable-file], [Enable the file subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-file], [Enable the file subsystem [default=yes]])],
|
||||||
, enable_file=yes)
|
, enable_file=yes)
|
||||||
if test x$enable_file != xyes; then
|
if test x$enable_file != xyes; then
|
||||||
AC_DEFINE(SDL_FILE_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_FILE_DISABLED, 1, [ ])
|
||||||
|
@ -532,7 +532,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} file"
|
SUMMARY_modules="${SUMMARY_modules} file"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(loadso,
|
AC_ARG_ENABLE(loadso,
|
||||||
AS_HELP_STRING([--enable-loadso], [Enable the shared object loading subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-loadso], [Enable the shared object loading subsystem [default=yes]])],
|
||||||
, enable_loadso=yes)
|
, enable_loadso=yes)
|
||||||
if test x$enable_loadso != xyes; then
|
if test x$enable_loadso != xyes; then
|
||||||
AC_DEFINE(SDL_LOADSO_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_LOADSO_DISABLED, 1, [ ])
|
||||||
|
@ -540,7 +540,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} loadso"
|
SUMMARY_modules="${SUMMARY_modules} loadso"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(cpuinfo,
|
AC_ARG_ENABLE(cpuinfo,
|
||||||
AS_HELP_STRING([--enable-cpuinfo], [Enable the cpuinfo subsystem [[default=yes]]]),
|
[AS_HELP_STRING([--enable-cpuinfo], [Enable the cpuinfo subsystem [default=yes]])],
|
||||||
, enable_cpuinfo=yes)
|
, enable_cpuinfo=yes)
|
||||||
if test x$enable_cpuinfo != xyes; then
|
if test x$enable_cpuinfo != xyes; then
|
||||||
AC_DEFINE(SDL_CPUINFO_DISABLED, 1, [ ])
|
AC_DEFINE(SDL_CPUINFO_DISABLED, 1, [ ])
|
||||||
|
@ -548,7 +548,7 @@ else
|
||||||
SUMMARY_modules="${SUMMARY_modules} cpuinfo"
|
SUMMARY_modules="${SUMMARY_modules} cpuinfo"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(assembly,
|
AC_ARG_ENABLE(assembly,
|
||||||
AS_HELP_STRING([--enable-assembly], [Enable assembly routines [[default=yes]]]),
|
[AS_HELP_STRING([--enable-assembly], [Enable assembly routines [default=yes]])],
|
||||||
, enable_assembly=yes)
|
, enable_assembly=yes)
|
||||||
if test x$enable_assembly = xyes; then
|
if test x$enable_assembly = xyes; then
|
||||||
SUMMARY_modules="${SUMMARY_modules} assembly"
|
SUMMARY_modules="${SUMMARY_modules} assembly"
|
||||||
|
@ -571,7 +571,7 @@ if test x$enable_assembly = xyes; then
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
AC_ARG_ENABLE(ssemath,
|
AC_ARG_ENABLE(ssemath,
|
||||||
AS_HELP_STRING([--enable-ssemath], [Allow GCC to use SSE floating point math [[default=maybe]]]),
|
[AS_HELP_STRING([--enable-ssemath], [Allow GCC to use SSE floating point math [default=maybe]])],
|
||||||
, enable_ssemath=$default_ssemath)
|
, enable_ssemath=$default_ssemath)
|
||||||
if test x$enable_ssemath = xno; then
|
if test x$enable_ssemath = xno; then
|
||||||
if test x$have_gcc_sse = xyes -o x$have_gcc_sse2 = xyes -o x$have_gcc_sse3 = xyes; then
|
if test x$have_gcc_sse = xyes -o x$have_gcc_sse2 = xyes -o x$have_gcc_sse3 = xyes; then
|
||||||
|
@ -581,7 +581,7 @@ AS_HELP_STRING([--enable-ssemath], [Allow GCC to use SSE floating point math [[d
|
||||||
|
|
||||||
dnl Check for various instruction support
|
dnl Check for various instruction support
|
||||||
AC_ARG_ENABLE(mmx,
|
AC_ARG_ENABLE(mmx,
|
||||||
AS_HELP_STRING([--enable-mmx], [use MMX assembly routines [[default=yes]]]),
|
[AS_HELP_STRING([--enable-mmx], [use MMX assembly routines [default=yes]])],
|
||||||
, enable_mmx=yes)
|
, enable_mmx=yes)
|
||||||
if test x$enable_mmx = xyes; then
|
if test x$enable_mmx = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -618,7 +618,7 @@ AS_HELP_STRING([--enable-mmx], [use MMX assembly routines [[default=yes]]]),
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(3dnow,
|
AC_ARG_ENABLE(3dnow,
|
||||||
AS_HELP_STRING([--enable-3dnow], [use 3DNow! assembly routines [[default=yes]]]),
|
[AS_HELP_STRING([--enable-3dnow], [use 3DNow! assembly routines [default=yes]])],
|
||||||
, enable_3dnow=yes)
|
, enable_3dnow=yes)
|
||||||
if test x$enable_3dnow = xyes; then
|
if test x$enable_3dnow = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -648,7 +648,7 @@ AS_HELP_STRING([--enable-3dnow], [use 3DNow! assembly routines [[default=yes]]])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(sse,
|
AC_ARG_ENABLE(sse,
|
||||||
AS_HELP_STRING([--enable-sse], [use SSE assembly routines [[default=yes]]]),
|
[AS_HELP_STRING([--enable-sse], [use SSE assembly routines [default=yes]])],
|
||||||
, enable_sse=yes)
|
, enable_sse=yes)
|
||||||
if test x$enable_sse = xyes; then
|
if test x$enable_sse = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -685,7 +685,7 @@ AS_HELP_STRING([--enable-sse], [use SSE assembly routines [[default=yes]]]),
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(sse2,
|
AC_ARG_ENABLE(sse2,
|
||||||
AS_HELP_STRING([--enable-sse2], [use SSE2 assembly routines [[default=maybe]]]),
|
[AS_HELP_STRING([--enable-sse2], [use SSE2 assembly routines [default=maybe]])],
|
||||||
, enable_sse2=$default_ssemath)
|
, enable_sse2=$default_ssemath)
|
||||||
if test x$enable_sse2 = xyes; then
|
if test x$enable_sse2 = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -722,7 +722,7 @@ AS_HELP_STRING([--enable-sse2], [use SSE2 assembly routines [[default=maybe]]]),
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(sse3,
|
AC_ARG_ENABLE(sse3,
|
||||||
AS_HELP_STRING([--enable-sse3], [use SSE3 assembly routines [[default=maybe]]]),
|
[AS_HELP_STRING([--enable-sse3], [use SSE3 assembly routines [default=maybe]])],
|
||||||
, enable_sse3=$default_ssemath)
|
, enable_sse3=$default_ssemath)
|
||||||
if test x$enable_sse3 = xyes; then
|
if test x$enable_sse3 = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -766,7 +766,7 @@ AS_HELP_STRING([--enable-sse3], [use SSE3 assembly routines [[default=maybe]]]),
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(altivec,
|
AC_ARG_ENABLE(altivec,
|
||||||
AS_HELP_STRING([--enable-altivec], [use Altivec assembly routines [[default=yes]]]),
|
[AS_HELP_STRING([--enable-altivec], [use Altivec assembly routines [default=yes]])],
|
||||||
, enable_altivec=yes)
|
, enable_altivec=yes)
|
||||||
if test x$enable_altivec = xyes; then
|
if test x$enable_altivec = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -847,7 +847,7 @@ dnl See if the OSS audio interface is supported
|
||||||
CheckOSS()
|
CheckOSS()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(oss,
|
AC_ARG_ENABLE(oss,
|
||||||
AS_HELP_STRING([--enable-oss], [support the OSS audio API [[default=maybe]]]),
|
[AS_HELP_STRING([--enable-oss], [support the OSS audio API [default=maybe]])],
|
||||||
, enable_oss=maybe)
|
, enable_oss=maybe)
|
||||||
|
|
||||||
# OpenBSD "has" OSS, but it's not really for app use. They want you to
|
# OpenBSD "has" OSS, but it's not really for app use. They want you to
|
||||||
|
@ -903,7 +903,7 @@ dnl See if the ALSA audio interface is supported
|
||||||
CheckALSA()
|
CheckALSA()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(alsa,
|
AC_ARG_ENABLE(alsa,
|
||||||
AS_HELP_STRING([--enable-alsa], [support the ALSA audio API [[default=yes]]]),
|
[AS_HELP_STRING([--enable-alsa], [support the ALSA audio API [default=yes]])],
|
||||||
, enable_alsa=yes)
|
, enable_alsa=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_alsa = xyes; then
|
if test x$enable_audio = xyes -a x$enable_alsa = xyes; then
|
||||||
AM_PATH_ALSA(1.0.11, have_alsa=yes, have_alsa=no)
|
AM_PATH_ALSA(1.0.11, have_alsa=yes, have_alsa=no)
|
||||||
|
@ -913,7 +913,7 @@ AS_HELP_STRING([--enable-alsa], [support the ALSA audio API [[default=yes]]]),
|
||||||
LIBS="$alsa_save_LIBS"
|
LIBS="$alsa_save_LIBS"
|
||||||
if test x$have_alsa = xyes; then
|
if test x$have_alsa = xyes; then
|
||||||
AC_ARG_ENABLE(alsa-shared,
|
AC_ARG_ENABLE(alsa-shared,
|
||||||
AS_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [default=yes]])],
|
||||||
, enable_alsa_shared=yes)
|
, enable_alsa_shared=yes)
|
||||||
alsa_lib=[`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
alsa_lib=[`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
|
@ -942,14 +942,14 @@ dnl Find JACK Audio
|
||||||
CheckJACK()
|
CheckJACK()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(jack,
|
AC_ARG_ENABLE(jack,
|
||||||
AS_HELP_STRING([--enable-jack], [use JACK audio [[default=yes]]]),
|
[AS_HELP_STRING([--enable-jack], [use JACK audio [default=yes]])],
|
||||||
, enable_jack=yes)
|
, enable_jack=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_jack = xyes; then
|
if test x$enable_audio = xyes -a x$enable_jack = xyes; then
|
||||||
PKG_CHECK_MODULES([JACK], [jack >= 0.125], audio_jack=yes, audio_jack=no)
|
PKG_CHECK_MODULES([JACK], [jack >= 0.125], audio_jack=yes, audio_jack=no)
|
||||||
|
|
||||||
if test x$audio_jack = xyes; then
|
if test x$audio_jack = xyes; then
|
||||||
AC_ARG_ENABLE(jack-shared,
|
AC_ARG_ENABLE(jack-shared,
|
||||||
AS_HELP_STRING([--enable-jack-shared], [dynamically load JACK audio support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-jack-shared], [dynamically load JACK audio support [default=yes]])],
|
||||||
, enable_jack_shared=yes)
|
, enable_jack_shared=yes)
|
||||||
jack_lib=[`find_lib "libjack.so.*" "$JACK_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
jack_lib=[`find_lib "libjack.so.*" "$JACK_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
|
@ -986,13 +986,13 @@ dnl Find the ESD includes and libraries
|
||||||
CheckESD()
|
CheckESD()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(esd,
|
AC_ARG_ENABLE(esd,
|
||||||
AS_HELP_STRING([--enable-esd], [support the Enlightened Sound Daemon [[default=yes]]]),
|
[AS_HELP_STRING([--enable-esd], [support the Enlightened Sound Daemon [default=yes]])],
|
||||||
, enable_esd=yes)
|
, enable_esd=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_esd = xyes; then
|
if test x$enable_audio = xyes -a x$enable_esd = xyes; then
|
||||||
AM_PATH_ESD(0.2.8, have_esd=yes, have_esd=no)
|
AM_PATH_ESD(0.2.8, have_esd=yes, have_esd=no)
|
||||||
if test x$have_esd = xyes; then
|
if test x$have_esd = xyes; then
|
||||||
AC_ARG_ENABLE(esd-shared,
|
AC_ARG_ENABLE(esd-shared,
|
||||||
AS_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [default=yes]])],
|
||||||
, enable_esd_shared=yes)
|
, enable_esd_shared=yes)
|
||||||
esd_lib=[`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
esd_lib=[`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
|
@ -1021,14 +1021,14 @@ dnl Find Pipewire
|
||||||
CheckPipewire()
|
CheckPipewire()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(pipewire,
|
AC_ARG_ENABLE(pipewire,
|
||||||
AS_HELP_STRING([--enable-pipewire], [use Pipewire audio [[default=yes]]]),
|
[AS_HELP_STRING([--enable-pipewire], [use Pipewire audio [default=yes]])],
|
||||||
, enable_pipewire=yes)
|
, enable_pipewire=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_pipewire = xyes; then
|
if test x$enable_audio = xyes -a x$enable_pipewire = xyes; then
|
||||||
PKG_CHECK_MODULES([PIPEWIRE], [libpipewire-0.3 >= 0.3.20], audio_pipewire=yes, audio_pipewire=no)
|
PKG_CHECK_MODULES([PIPEWIRE], [libpipewire-0.3 >= 0.3.20], audio_pipewire=yes, audio_pipewire=no)
|
||||||
|
|
||||||
if test x$audio_pipewire = xyes; then
|
if test x$audio_pipewire = xyes; then
|
||||||
AC_ARG_ENABLE(pipewire-shared,
|
AC_ARG_ENABLE(pipewire-shared,
|
||||||
AS_HELP_STRING([--enable-pipewire-shared], [dynamically load Pipewire support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-pipewire-shared], [dynamically load Pipewire support [default=yes]])],
|
||||||
, enable_pipewire_shared=yes)
|
, enable_pipewire_shared=yes)
|
||||||
pipewire_lib=[`find_lib "libpipewire-0.3.so.*" "$PIPEWIRE_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
pipewire_lib=[`find_lib "libpipewire-0.3.so.*" "$PIPEWIRE_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
|
@ -1057,14 +1057,14 @@ dnl Find PulseAudio
|
||||||
CheckPulseAudio()
|
CheckPulseAudio()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(pulseaudio,
|
AC_ARG_ENABLE(pulseaudio,
|
||||||
AS_HELP_STRING([--enable-pulseaudio], [use PulseAudio [[default=yes]]]),
|
[AS_HELP_STRING([--enable-pulseaudio], [use PulseAudio [default=yes]])],
|
||||||
, enable_pulseaudio=yes)
|
, enable_pulseaudio=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_pulseaudio = xyes; then
|
if test x$enable_audio = xyes -a x$enable_pulseaudio = xyes; then
|
||||||
PKG_CHECK_MODULES([PULSEAUDIO], [libpulse-simple >= 0.9], audio_pulseaudio=yes, audio_pulseaudio=no)
|
PKG_CHECK_MODULES([PULSEAUDIO], [libpulse-simple >= 0.9], audio_pulseaudio=yes, audio_pulseaudio=no)
|
||||||
|
|
||||||
if test x$audio_pulseaudio = xyes; then
|
if test x$audio_pulseaudio = xyes; then
|
||||||
AC_ARG_ENABLE(pulseaudio-shared,
|
AC_ARG_ENABLE(pulseaudio-shared,
|
||||||
AS_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio support [default=yes]])],
|
||||||
, enable_pulseaudio_shared=yes)
|
, enable_pulseaudio_shared=yes)
|
||||||
pulseaudio_lib=[`find_lib "libpulse-simple.so.*" "$PULSEAUDIO_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
pulseaudio_lib=[`find_lib "libpulse-simple.so.*" "$PULSEAUDIO_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
|
@ -1100,7 +1100,7 @@ AS_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio suppor
|
||||||
CheckARTSC()
|
CheckARTSC()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(arts,
|
AC_ARG_ENABLE(arts,
|
||||||
AS_HELP_STRING([--enable-arts], [support the Analog Real Time Synthesizer [[default=yes]]]),
|
[AS_HELP_STRING([--enable-arts], [support the Analog Real Time Synthesizer [default=yes]])],
|
||||||
, enable_arts=yes)
|
, enable_arts=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_arts = xyes; then
|
if test x$enable_audio = xyes -a x$enable_arts = xyes; then
|
||||||
AC_PATH_PROG(ARTSCONFIG, artsc-config)
|
AC_PATH_PROG(ARTSCONFIG, artsc-config)
|
||||||
|
@ -1124,7 +1124,7 @@ AS_HELP_STRING([--enable-arts], [support the Analog Real Time Synthesizer [[defa
|
||||||
AC_MSG_RESULT($audio_arts)
|
AC_MSG_RESULT($audio_arts)
|
||||||
if test x$audio_arts = xyes; then
|
if test x$audio_arts = xyes; then
|
||||||
AC_ARG_ENABLE(arts-shared,
|
AC_ARG_ENABLE(arts-shared,
|
||||||
AS_HELP_STRING([--enable-arts-shared], [dynamically load aRts audio support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-arts-shared], [dynamically load aRts audio support [default=yes]])],
|
||||||
, enable_arts_shared=yes)
|
, enable_arts_shared=yes)
|
||||||
arts_lib=[`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
arts_lib=[`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
|
@ -1154,7 +1154,7 @@ dnl See if the NAS audio interface is supported
|
||||||
CheckNAS()
|
CheckNAS()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(nas,
|
AC_ARG_ENABLE(nas,
|
||||||
AS_HELP_STRING([--enable-nas], [support the NAS audio API [[default=yes]]]),
|
[AS_HELP_STRING([--enable-nas], [support the NAS audio API [default=yes]])],
|
||||||
, enable_nas=yes)
|
, enable_nas=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_nas = xyes; then
|
if test x$enable_audio = xyes -a x$enable_nas = xyes; then
|
||||||
AC_CHECK_HEADER(audio/audiolib.h, have_nas_hdr=yes)
|
AC_CHECK_HEADER(audio/audiolib.h, have_nas_hdr=yes)
|
||||||
|
@ -1178,7 +1178,7 @@ AS_HELP_STRING([--enable-nas], [support the NAS audio API [[default=yes]]]),
|
||||||
|
|
||||||
if test x$have_nas = xyes; then
|
if test x$have_nas = xyes; then
|
||||||
AC_ARG_ENABLE(nas-shared,
|
AC_ARG_ENABLE(nas-shared,
|
||||||
AS_HELP_STRING([--enable-nas-shared], [dynamically load NAS audio support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-nas-shared], [dynamically load NAS audio support [default=yes]])],
|
||||||
, enable_nas_shared=yes)
|
, enable_nas_shared=yes)
|
||||||
nas_lib=[`find_lib "libaudio.so.*" "$NAS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
nas_lib=[`find_lib "libaudio.so.*" "$NAS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
|
@ -1208,7 +1208,7 @@ dnl See if the sndio audio interface is supported
|
||||||
CheckSNDIO()
|
CheckSNDIO()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(sndio,
|
AC_ARG_ENABLE(sndio,
|
||||||
AS_HELP_STRING([--enable-sndio], [support the sndio audio API [[default=yes]]]),
|
[AS_HELP_STRING([--enable-sndio], [support the sndio audio API [default=yes]])],
|
||||||
, enable_sndio=yes)
|
, enable_sndio=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_sndio = xyes; then
|
if test x$enable_audio = xyes -a x$enable_sndio = xyes; then
|
||||||
AC_CHECK_HEADER(sndio.h, have_sndio_hdr=yes)
|
AC_CHECK_HEADER(sndio.h, have_sndio_hdr=yes)
|
||||||
|
@ -1226,7 +1226,7 @@ AS_HELP_STRING([--enable-sndio], [support the sndio audio API [[default=yes]]]),
|
||||||
|
|
||||||
if test x$have_sndio = xyes; then
|
if test x$have_sndio = xyes; then
|
||||||
AC_ARG_ENABLE(sndio-shared,
|
AC_ARG_ENABLE(sndio-shared,
|
||||||
AS_HELP_STRING([--enable-sndio-shared], [dynamically load sndio audio support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-sndio-shared], [dynamically load sndio audio support [default=yes]])],
|
||||||
, enable_sndio_shared=yes)
|
, enable_sndio_shared=yes)
|
||||||
sndio_lib=[`find_lib "libsndio.so.*" "$SNDIO_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
sndio_lib=[`find_lib "libsndio.so.*" "$SNDIO_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
|
||||||
|
@ -1256,7 +1256,7 @@ dnl Find FusionSound
|
||||||
CheckFusionSound()
|
CheckFusionSound()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(fusionsound,
|
AC_ARG_ENABLE(fusionsound,
|
||||||
AS_HELP_STRING([--enable-fusionsound], [use FusionSound audio driver [[default=no]]]),
|
[AS_HELP_STRING([--enable-fusionsound], [use FusionSound audio driver [default=no]])],
|
||||||
, enable_fusionsound=no)
|
, enable_fusionsound=no)
|
||||||
if test x$enable_audio = xyes -a x$enable_fusionsound = xyes; then
|
if test x$enable_audio = xyes -a x$enable_fusionsound = xyes; then
|
||||||
PKG_CHECK_MODULES([FUSIONSOUND], [fusionsound >= 1.1.1], fusionsound=yes, fusionsound=no)
|
PKG_CHECK_MODULES([FUSIONSOUND], [fusionsound >= 1.1.1], fusionsound=yes, fusionsound=no)
|
||||||
|
@ -1267,7 +1267,7 @@ AS_HELP_STRING([--enable-fusionsound], [use FusionSound audio driver [[default=n
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $FUSIONSOUND_CFLAGS"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS $FUSIONSOUND_CFLAGS"
|
||||||
|
|
||||||
AC_ARG_ENABLE(fusionsound-shared,
|
AC_ARG_ENABLE(fusionsound-shared,
|
||||||
AS_HELP_STRING([--enable-fusionsound-shared], [dynamically load fusionsound audio support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-fusionsound-shared], [dynamically load fusionsound audio support [default=yes]])],
|
||||||
, enable_fusionsound_shared=yes)
|
, enable_fusionsound_shared=yes)
|
||||||
fusionsound_shared=no
|
fusionsound_shared=no
|
||||||
AC_MSG_CHECKING(for FusionSound dynamic loading support)
|
AC_MSG_CHECKING(for FusionSound dynamic loading support)
|
||||||
|
@ -1295,7 +1295,7 @@ dnl rcg07142001 See if the user wants the disk writer audio driver...
|
||||||
CheckDiskAudio()
|
CheckDiskAudio()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(diskaudio,
|
AC_ARG_ENABLE(diskaudio,
|
||||||
AS_HELP_STRING([--enable-diskaudio], [support the disk writer audio driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-diskaudio], [support the disk writer audio driver [default=yes]])],
|
||||||
, enable_diskaudio=yes)
|
, enable_diskaudio=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then
|
if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_DISK, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DRIVER_DISK, 1, [ ])
|
||||||
|
@ -1308,7 +1308,7 @@ dnl rcg03142006 See if the user wants the dummy audio driver...
|
||||||
CheckDummyAudio()
|
CheckDummyAudio()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(dummyaudio,
|
AC_ARG_ENABLE(dummyaudio,
|
||||||
AS_HELP_STRING([--enable-dummyaudio], [support the dummy audio driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-dummyaudio], [support the dummy audio driver [default=yes]])],
|
||||||
, enable_dummyaudio=yes)
|
, enable_dummyaudio=yes)
|
||||||
if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then
|
if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then
|
||||||
AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY, 1, [ ])
|
AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY, 1, [ ])
|
||||||
|
@ -1321,7 +1321,7 @@ dnl See if libsamplerate is available
|
||||||
CheckLibSampleRate()
|
CheckLibSampleRate()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(libsamplerate,
|
AC_ARG_ENABLE(libsamplerate,
|
||||||
AS_HELP_STRING([--enable-libsamplerate], [use libsamplerate for audio rate conversion [[default=yes]]]),
|
[AS_HELP_STRING([--enable-libsamplerate], [use libsamplerate for audio rate conversion [default=yes]])],
|
||||||
, enable_libsamplerate=yes)
|
, enable_libsamplerate=yes)
|
||||||
if test x$enable_libsamplerate = xyes; then
|
if test x$enable_libsamplerate = xyes; then
|
||||||
AC_CHECK_HEADER(samplerate.h,
|
AC_CHECK_HEADER(samplerate.h,
|
||||||
|
@ -1331,7 +1331,7 @@ AS_HELP_STRING([--enable-libsamplerate], [use libsamplerate for audio rate conve
|
||||||
AC_DEFINE(HAVE_LIBSAMPLERATE_H, 1, [ ])
|
AC_DEFINE(HAVE_LIBSAMPLERATE_H, 1, [ ])
|
||||||
|
|
||||||
AC_ARG_ENABLE(libsamplerate-shared,
|
AC_ARG_ENABLE(libsamplerate-shared,
|
||||||
AS_HELP_STRING([--enable-libsamplerate-shared], [dynamically load libsamplerate [[default=yes]]]),
|
[AS_HELP_STRING([--enable-libsamplerate-shared], [dynamically load libsamplerate [default=yes]])],
|
||||||
, enable_libsamplerate_shared=yes)
|
, enable_libsamplerate_shared=yes)
|
||||||
|
|
||||||
samplerate_lib=[`find_lib "libsamplerate.so.*" "" | sed 's/.*\/\(.*\)/\1/; q'`]
|
samplerate_lib=[`find_lib "libsamplerate.so.*" "" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||||
|
@ -1355,7 +1355,7 @@ dnl Check for ARM instruction support using gas syntax
|
||||||
CheckARM()
|
CheckARM()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(arm-simd,
|
AC_ARG_ENABLE(arm-simd,
|
||||||
AS_HELP_STRING([--enable-arm-simd], [use SIMD assembly blitters on ARM [[default=no]]]),
|
[AS_HELP_STRING([--enable-arm-simd], [use SIMD assembly blitters on ARM [default=no]])],
|
||||||
enable_arm_simd=$enableval, enable_arm_simd=no)
|
enable_arm_simd=$enableval, enable_arm_simd=no)
|
||||||
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_arm_simd = xyes; then
|
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_arm_simd = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -1391,7 +1391,7 @@ dnl Check for ARM NEON instruction support using gas syntax
|
||||||
CheckNEON()
|
CheckNEON()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(arm-neon,
|
AC_ARG_ENABLE(arm-neon,
|
||||||
AS_HELP_STRING([--enable-arm-neon], [use NEON assembly blitters on ARM [[default=no]]]),
|
[AS_HELP_STRING([--enable-arm-neon], [use NEON assembly blitters on ARM [default=no]])],
|
||||||
enable_arm_neon=$enableval, enable_arm_neon=no)
|
enable_arm_neon=$enableval, enable_arm_neon=no)
|
||||||
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_arm_neon = xyes; then
|
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_arm_neon = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -1559,11 +1559,11 @@ dnl Check for Wayland
|
||||||
CheckWayland()
|
CheckWayland()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-wayland,
|
AC_ARG_ENABLE(video-wayland,
|
||||||
AS_HELP_STRING([--enable-video-wayland], [use Wayland video driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-wayland], [use Wayland video driver [default=yes]])],
|
||||||
,enable_video_wayland=yes)
|
,enable_video_wayland=yes)
|
||||||
|
|
||||||
AC_ARG_ENABLE(video-wayland-qt-touch,
|
AC_ARG_ENABLE(video-wayland-qt-touch,
|
||||||
AS_HELP_STRING([--enable-video-wayland-qt-touch], [QtWayland server support for Wayland video driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-wayland-qt-touch], [QtWayland server support for Wayland video driver [default=yes]])],
|
||||||
,enable_video_wayland_qt_touch=yes)
|
,enable_video_wayland_qt_touch=yes)
|
||||||
|
|
||||||
if test x$enable_video = xyes -a x$enable_video_wayland = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_wayland = xyes; then
|
||||||
|
@ -1593,7 +1593,7 @@ AS_HELP_STRING([--enable-video-wayland-qt-touch], [QtWayland server support for
|
||||||
SOURCES="$SOURCES $WAYLAND_SOURCES"
|
SOURCES="$SOURCES $WAYLAND_SOURCES"
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $WAYLAND_CFLAGS -I\$(gen)"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS $WAYLAND_CFLAGS -I\$(gen)"
|
||||||
AC_ARG_ENABLE(wayland-shared,
|
AC_ARG_ENABLE(wayland-shared,
|
||||||
AS_HELP_STRING([--enable-wayland-shared], [dynamically load Wayland support [[default=maybe]]]),
|
[AS_HELP_STRING([--enable-wayland-shared], [dynamically load Wayland support [default=maybe]])],
|
||||||
, enable_wayland_shared=maybe)
|
, enable_wayland_shared=maybe)
|
||||||
|
|
||||||
dnl FIXME: Do BSD and OS X need special cases?
|
dnl FIXME: Do BSD and OS X need special cases?
|
||||||
|
@ -1672,7 +1672,7 @@ CheckNativeClient()
|
||||||
CheckRPI()
|
CheckRPI()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-rpi,
|
AC_ARG_ENABLE(video-rpi,
|
||||||
AS_HELP_STRING([--enable-video-rpi], [use Raspberry Pi video driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-rpi], [use Raspberry Pi video driver [default=yes]])],
|
||||||
, enable_video_rpi=yes)
|
, enable_video_rpi=yes)
|
||||||
if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_rpi = xyes; then
|
||||||
PKG_CHECK_MODULES([RPI], [bcm_host brcmegl], video_rpi=yes, video_rpi=no)
|
PKG_CHECK_MODULES([RPI], [bcm_host brcmegl], video_rpi=yes, video_rpi=no)
|
||||||
|
@ -1724,7 +1724,7 @@ dnl Find the X11 include and library directories
|
||||||
CheckX11()
|
CheckX11()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-x11,
|
AC_ARG_ENABLE(video-x11,
|
||||||
AS_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11], [use X11 video driver [default=yes]])],
|
||||||
, enable_video_x11=yes)
|
, enable_video_x11=yes)
|
||||||
if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then
|
||||||
case "$host" in
|
case "$host" in
|
||||||
|
@ -1743,7 +1743,7 @@ AS_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]),
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
if test x$have_x = xyes; then
|
if test x$have_x = xyes; then
|
||||||
AC_ARG_ENABLE(x11-shared,
|
AC_ARG_ENABLE(x11-shared,
|
||||||
AS_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [[default=maybe]]]),
|
[AS_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [default=maybe]])],
|
||||||
, enable_x11_shared=maybe)
|
, enable_x11_shared=maybe)
|
||||||
|
|
||||||
case "$host" in
|
case "$host" in
|
||||||
|
@ -1866,7 +1866,7 @@ XFreeEventData(display, cookie);
|
||||||
AC_CHECK_LIB(X11, XkbKeycodeToKeysym, AC_DEFINE(SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM, 1, [Have XkbKeycodeToKeysym]))
|
AC_CHECK_LIB(X11, XkbKeycodeToKeysym, AC_DEFINE(SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM, 1, [Have XkbKeycodeToKeysym]))
|
||||||
|
|
||||||
AC_ARG_ENABLE(video-x11-xcursor,
|
AC_ARG_ENABLE(video-x11-xcursor,
|
||||||
AS_HELP_STRING([--enable-video-x11-xcursor], [enable X11 Xcursor support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11-xcursor], [enable X11 Xcursor support [default=yes]])],
|
||||||
, enable_video_x11_xcursor=yes)
|
, enable_video_x11_xcursor=yes)
|
||||||
if test x$enable_video_x11_xcursor = xyes; then
|
if test x$enable_video_x11_xcursor = xyes; then
|
||||||
definitely_enable_video_x11_xcursor=no
|
definitely_enable_video_x11_xcursor=no
|
||||||
|
@ -1894,7 +1894,7 @@ AS_HELP_STRING([--enable-video-x11-xcursor], [enable X11 Xcursor support [[defau
|
||||||
SUMMARY_video_x11="${SUMMARY_video_x11} xcursor"
|
SUMMARY_video_x11="${SUMMARY_video_x11} xcursor"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(video-x11-xdbe,
|
AC_ARG_ENABLE(video-x11-xdbe,
|
||||||
AS_HELP_STRING([--enable-video-x11-xdbe], [enable X11 Xdbe support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11-xdbe], [enable X11 Xdbe support [default=yes]])],
|
||||||
, enable_video_x11_xdbe=yes)
|
, enable_video_x11_xdbe=yes)
|
||||||
if test x$enable_video_x11_xdbe = xyes; then
|
if test x$enable_video_x11_xdbe = xyes; then
|
||||||
AC_CHECK_HEADER(X11/extensions/Xdbe.h,
|
AC_CHECK_HEADER(X11/extensions/Xdbe.h,
|
||||||
|
@ -1908,7 +1908,7 @@ AS_HELP_STRING([--enable-video-x11-xdbe], [enable X11 Xdbe support [[default=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(video-x11-xinerama,
|
AC_ARG_ENABLE(video-x11-xinerama,
|
||||||
AS_HELP_STRING([--enable-video-x11-xinerama], [enable X11 Xinerama support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11-xinerama], [enable X11 Xinerama support [default=yes]])],
|
||||||
, enable_video_x11_xinerama=yes)
|
, enable_video_x11_xinerama=yes)
|
||||||
if test x$enable_video_x11_xinerama = xyes; then
|
if test x$enable_video_x11_xinerama = xyes; then
|
||||||
definitely_enable_video_x11_xinerama=no
|
definitely_enable_video_x11_xinerama=no
|
||||||
|
@ -1936,7 +1936,7 @@ AS_HELP_STRING([--enable-video-x11-xinerama], [enable X11 Xinerama support [[def
|
||||||
SUMMARY_video_x11="${SUMMARY_video_x11} xinerama"
|
SUMMARY_video_x11="${SUMMARY_video_x11} xinerama"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(video-x11-xinput,
|
AC_ARG_ENABLE(video-x11-xinput,
|
||||||
AS_HELP_STRING([--enable-video-x11-xinput], [enable X11 XInput extension for manymouse, tablets, etc [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11-xinput], [enable X11 XInput extension for manymouse, tablets, etc [default=yes]])],
|
||||||
, enable_video_x11_xinput=yes)
|
, enable_video_x11_xinput=yes)
|
||||||
if test x$enable_video_x11_xinput = xyes; then
|
if test x$enable_video_x11_xinput = xyes; then
|
||||||
definitely_enable_video_x11_xinput=no
|
definitely_enable_video_x11_xinput=no
|
||||||
|
@ -1979,7 +1979,7 @@ XITouchClassInfo *t;
|
||||||
AC_MSG_RESULT($have_xinput2_multitouch)
|
AC_MSG_RESULT($have_xinput2_multitouch)
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(video-x11-xrandr,
|
AC_ARG_ENABLE(video-x11-xrandr,
|
||||||
AS_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [default=yes]])],
|
||||||
, enable_video_x11_xrandr=yes)
|
, enable_video_x11_xrandr=yes)
|
||||||
if test x$enable_video_x11_xrandr = xyes; then
|
if test x$enable_video_x11_xrandr = xyes; then
|
||||||
dnl XRRScreenResources is only present in Xrandr >= 1.2, we use that as a test.
|
dnl XRRScreenResources is only present in Xrandr >= 1.2, we use that as a test.
|
||||||
|
@ -2012,7 +2012,7 @@ AS_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for ful
|
||||||
SUMMARY_video_x11="${SUMMARY_video_x11} xrandr"
|
SUMMARY_video_x11="${SUMMARY_video_x11} xrandr"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(video-x11-scrnsaver,
|
AC_ARG_ENABLE(video-x11-scrnsaver,
|
||||||
AS_HELP_STRING([--enable-video-x11-scrnsaver], [enable X11 screensaver extension [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11-scrnsaver], [enable X11 screensaver extension [default=yes]])],
|
||||||
, enable_video_x11_scrnsaver=yes)
|
, enable_video_x11_scrnsaver=yes)
|
||||||
if test x$enable_video_x11_scrnsaver = xyes; then
|
if test x$enable_video_x11_scrnsaver = xyes; then
|
||||||
AC_CHECK_HEADER(X11/extensions/scrnsaver.h,
|
AC_CHECK_HEADER(X11/extensions/scrnsaver.h,
|
||||||
|
@ -2039,7 +2039,7 @@ AS_HELP_STRING([--enable-video-x11-scrnsaver], [enable X11 screensaver extension
|
||||||
SUMMARY_video_x11="${SUMMARY_video_x11} xscrnsaver"
|
SUMMARY_video_x11="${SUMMARY_video_x11} xscrnsaver"
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(video-x11-xshape,
|
AC_ARG_ENABLE(video-x11-xshape,
|
||||||
AS_HELP_STRING([--enable-video-x11-xshape], [enable X11 XShape support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11-xshape], [enable X11 XShape support [default=yes]])],
|
||||||
, enable_video_x11_xshape=yes)
|
, enable_video_x11_xshape=yes)
|
||||||
if test x$enable_video_x11_xshape = xyes; then
|
if test x$enable_video_x11_xshape = xyes; then
|
||||||
AC_CHECK_HEADER(X11/extensions/shape.h,
|
AC_CHECK_HEADER(X11/extensions/shape.h,
|
||||||
|
@ -2053,7 +2053,7 @@ AS_HELP_STRING([--enable-video-x11-xshape], [enable X11 XShape support [[default
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AC_ARG_ENABLE(video-x11-vm,
|
AC_ARG_ENABLE(video-x11-vm,
|
||||||
AS_HELP_STRING([--enable-video-x11-vm], [use X11 VM extension for fullscreen [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-x11-vm], [use X11 VM extension for fullscreen [default=yes]])],
|
||||||
, enable_video_x11_vm=yes)
|
, enable_video_x11_vm=yes)
|
||||||
if test x$enable_video_x11_vm = xyes; then
|
if test x$enable_video_x11_vm = xyes; then
|
||||||
definitely_enable_video_x11_vm=no
|
definitely_enable_video_x11_vm=no
|
||||||
|
@ -2091,7 +2091,7 @@ dnl Set up the Vivante video driver if enabled
|
||||||
CheckVivanteVideo()
|
CheckVivanteVideo()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-vivante,
|
AC_ARG_ENABLE(video-vivante,
|
||||||
AS_HELP_STRING([--enable-video-vivante], [use Vivante EGL video driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-vivante], [use Vivante EGL video driver [default=yes]])],
|
||||||
, enable_video_vivante=yes)
|
, enable_video_vivante=yes)
|
||||||
if test x$enable_video = xyes -a x$enable_video_vivante = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_vivante = xyes; then
|
||||||
AC_MSG_CHECKING(for Vivante VDK API)
|
AC_MSG_CHECKING(for Vivante VDK API)
|
||||||
|
@ -2147,7 +2147,7 @@ dnl Set up the Cocoa video driver for Mac OS X (but not Darwin)
|
||||||
CheckCOCOA()
|
CheckCOCOA()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-cocoa,
|
AC_ARG_ENABLE(video-cocoa,
|
||||||
AS_HELP_STRING([--enable-video-cocoa], [use Cocoa video driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-cocoa], [use Cocoa video driver [default=yes]])],
|
||||||
, enable_video_cocoa=yes)
|
, enable_video_cocoa=yes)
|
||||||
if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -2175,10 +2175,10 @@ AS_HELP_STRING([--enable-video-cocoa], [use Cocoa video driver [[default=yes]]])
|
||||||
CheckMETAL()
|
CheckMETAL()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-metal,
|
AC_ARG_ENABLE(video-metal,
|
||||||
AS_HELP_STRING([--enable-video-metal], [include Metal support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-metal], [include Metal support [default=yes]])],
|
||||||
, enable_video_metal=yes)
|
, enable_video_metal=yes)
|
||||||
AC_ARG_ENABLE(render-metal,
|
AC_ARG_ENABLE(render-metal,
|
||||||
AS_HELP_STRING([--enable-render-metal], [enable the Metal render driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-render-metal], [enable the Metal render driver [default=yes]])],
|
||||||
, enable_render_metal=yes)
|
, enable_render_metal=yes)
|
||||||
if test x$enable_video = xyes -a x$enable_video_metal = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_metal = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -2218,7 +2218,7 @@ dnl Find DirectFB
|
||||||
CheckDirectFB()
|
CheckDirectFB()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-directfb,
|
AC_ARG_ENABLE(video-directfb,
|
||||||
AS_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [[default=no]]]),
|
[AS_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [default=no]])],
|
||||||
, enable_video_directfb=no)
|
, enable_video_directfb=no)
|
||||||
if test x$enable_video = xyes -a x$enable_video_directfb = xyes; then
|
if test x$enable_video = xyes -a x$enable_video_directfb = xyes; then
|
||||||
PKG_CHECK_MODULES([DIRECTFB], [directfb >= 1.0.0], video_directfb=yes, video_directfb=no)
|
PKG_CHECK_MODULES([DIRECTFB], [directfb >= 1.0.0], video_directfb=yes, video_directfb=no)
|
||||||
|
@ -2234,7 +2234,7 @@ AS_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [[default=n
|
||||||
|
|
||||||
if test x$video_directfb = xyes; then
|
if test x$video_directfb = xyes; then
|
||||||
AC_ARG_ENABLE(directfb-shared,
|
AC_ARG_ENABLE(directfb-shared,
|
||||||
AS_HELP_STRING([--enable-directfb-shared], [dynamically load directfb support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-directfb-shared], [dynamically load directfb support [default=yes]])],
|
||||||
, enable_directfb_shared=yes)
|
, enable_directfb_shared=yes)
|
||||||
|
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_DIRECTFB, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_DIRECTFB, 1, [ ])
|
||||||
|
@ -2268,7 +2268,7 @@ dnl Find KMSDRM
|
||||||
CheckKMSDRM()
|
CheckKMSDRM()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-kmsdrm,
|
AC_ARG_ENABLE(video-kmsdrm,
|
||||||
AS_HELP_STRING([--enable-video-kmsdrm], [use KMSDRM video driver [[default=no]]]),
|
[AS_HELP_STRING([--enable-video-kmsdrm], [use KMSDRM video driver [default=no]])],
|
||||||
, enable_video_kmsdrm=no)
|
, enable_video_kmsdrm=no)
|
||||||
|
|
||||||
if test x$enable_video = xyes && \
|
if test x$enable_video = xyes && \
|
||||||
|
@ -2286,7 +2286,7 @@ AS_HELP_STRING([--enable-video-kmsdrm], [use KMSDRM video driver [[default=no]]]
|
||||||
|
|
||||||
if test x$video_kmsdrm = xyes; then
|
if test x$video_kmsdrm = xyes; then
|
||||||
AC_ARG_ENABLE(kmsdrm-shared,
|
AC_ARG_ENABLE(kmsdrm-shared,
|
||||||
AS_HELP_STRING([--enable-kmsdrm-shared], [dynamically load kmsdrm support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-kmsdrm-shared], [dynamically load kmsdrm support [default=yes]])],
|
||||||
, enable_kmsdrm_shared=yes)
|
, enable_kmsdrm_shared=yes)
|
||||||
|
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_KMSDRM, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_KMSDRM, 1, [ ])
|
||||||
|
@ -2322,7 +2322,7 @@ dnl rcg04172001 Set up the Null video driver.
|
||||||
CheckDummyVideo()
|
CheckDummyVideo()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(video-dummy,
|
AC_ARG_ENABLE(video-dummy,
|
||||||
AS_HELP_STRING([--enable-video-dummy], [use dummy video driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-dummy], [use dummy video driver [default=yes]])],
|
||||||
, enable_video_dummy=yes)
|
, enable_video_dummy=yes)
|
||||||
if test x$enable_video_dummy = xyes; then
|
if test x$enable_video_dummy = xyes; then
|
||||||
AC_DEFINE(SDL_VIDEO_DRIVER_DUMMY, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_DRIVER_DUMMY, 1, [ ])
|
||||||
|
@ -2358,7 +2358,7 @@ CheckQNXAudio()
|
||||||
|
|
||||||
dnl Check to see if OpenGL support is desired
|
dnl Check to see if OpenGL support is desired
|
||||||
AC_ARG_ENABLE(video-opengl,
|
AC_ARG_ENABLE(video-opengl,
|
||||||
AS_HELP_STRING([--enable-video-opengl], [include OpenGL support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-opengl], [include OpenGL support [default=yes]])],
|
||||||
, enable_video_opengl=yes)
|
, enable_video_opengl=yes)
|
||||||
|
|
||||||
dnl Find OpenGL
|
dnl Find OpenGL
|
||||||
|
@ -2386,13 +2386,13 @@ CheckOpenGLX11()
|
||||||
|
|
||||||
dnl Check to see if OpenGL ES support is desired
|
dnl Check to see if OpenGL ES support is desired
|
||||||
AC_ARG_ENABLE(video-opengles,
|
AC_ARG_ENABLE(video-opengles,
|
||||||
AS_HELP_STRING([--enable-video-opengles], [include OpenGL ES support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-opengles], [include OpenGL ES support [default=yes]])],
|
||||||
, enable_video_opengles=yes)
|
, enable_video_opengles=yes)
|
||||||
AC_ARG_ENABLE(video-opengles1,
|
AC_ARG_ENABLE(video-opengles1,
|
||||||
AS_HELP_STRING([--enable-video-opengles1], [include OpenGL ES 1.1 support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-opengles1], [include OpenGL ES 1.1 support [default=yes]])],
|
||||||
, enable_video_opengles1=yes)
|
, enable_video_opengles1=yes)
|
||||||
AC_ARG_ENABLE(video-opengles2,
|
AC_ARG_ENABLE(video-opengles2,
|
||||||
AS_HELP_STRING([--enable-video-opengles2], [include OpenGL ES 2.0 support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-opengles2], [include OpenGL ES 2.0 support [default=yes]])],
|
||||||
, enable_video_opengles2=yes)
|
, enable_video_opengles2=yes)
|
||||||
|
|
||||||
dnl Find OpenGL ES
|
dnl Find OpenGL ES
|
||||||
|
@ -2599,7 +2599,7 @@ CheckEmscriptenGLES()
|
||||||
|
|
||||||
dnl Check to see if Vulkan support is desired
|
dnl Check to see if Vulkan support is desired
|
||||||
AC_ARG_ENABLE(video-vulkan,
|
AC_ARG_ENABLE(video-vulkan,
|
||||||
AS_HELP_STRING([--enable-video-vulkan], [include Vulkan support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-video-vulkan], [include Vulkan support [default=yes]])],
|
||||||
, enable_video_vulkan=yes)
|
, enable_video_vulkan=yes)
|
||||||
|
|
||||||
dnl Find Vulkan Header
|
dnl Find Vulkan Header
|
||||||
|
@ -2746,7 +2746,7 @@ dnl See if the platform offers libudev for device enumeration and hotplugging.
|
||||||
CheckLibUDev()
|
CheckLibUDev()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(libudev,
|
AC_ARG_ENABLE(libudev,
|
||||||
AS_HELP_STRING([--enable-libudev], [enable libudev support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-libudev], [enable libudev support [default=yes]])],
|
||||||
, enable_libudev=yes)
|
, enable_libudev=yes)
|
||||||
if test x$enable_libudev = xyes; then
|
if test x$enable_libudev = xyes; then
|
||||||
AC_CHECK_HEADER(libudev.h,
|
AC_CHECK_HEADER(libudev.h,
|
||||||
|
@ -2768,7 +2768,7 @@ dnl See if the platform offers libdbus for various IPC techniques.
|
||||||
CheckDBus()
|
CheckDBus()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(dbus,
|
AC_ARG_ENABLE(dbus,
|
||||||
AS_HELP_STRING([--enable-dbus], [enable D-Bus support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-dbus], [enable D-Bus support [default=yes]])],
|
||||||
, enable_dbus=yes)
|
, enable_dbus=yes)
|
||||||
if test x$enable_dbus = xyes; then
|
if test x$enable_dbus = xyes; then
|
||||||
PKG_CHECK_MODULES([DBUS], [dbus-1], have_dbus=yes, have_dbus=no)
|
PKG_CHECK_MODULES([DBUS], [dbus-1], have_dbus=yes, have_dbus=no)
|
||||||
|
@ -2790,7 +2790,7 @@ dnl See if the platform wanna IME support.
|
||||||
CheckIME()
|
CheckIME()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(ime,
|
AC_ARG_ENABLE(ime,
|
||||||
AS_HELP_STRING([--enable-ime], [enable IME support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-ime], [enable IME support [default=yes]])],
|
||||||
, enable_ime=yes)
|
, enable_ime=yes)
|
||||||
if test x$enable_ime = xyes; then
|
if test x$enable_ime = xyes; then
|
||||||
AC_DEFINE(SDL_USE_IME, 1, [ ])
|
AC_DEFINE(SDL_USE_IME, 1, [ ])
|
||||||
|
@ -2824,7 +2824,7 @@ dnl See if the platform has libibus IME support.
|
||||||
CheckIBus()
|
CheckIBus()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(ibus,
|
AC_ARG_ENABLE(ibus,
|
||||||
AS_HELP_STRING([--enable-ibus], [enable IBus support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-ibus], [enable IBus support [default=yes]])],
|
||||||
, enable_ibus=yes)
|
, enable_ibus=yes)
|
||||||
if test x$enable_ibus = xyes; then
|
if test x$enable_ibus = xyes; then
|
||||||
PKG_CHECK_MODULES([IBUS], [ibus-1.0], have_ibus=yes, have_ibus=no)
|
PKG_CHECK_MODULES([IBUS], [ibus-1.0], have_ibus=yes, have_ibus=no)
|
||||||
|
@ -2857,7 +2857,7 @@ dnl See if the platform has fcitx IME support.
|
||||||
CheckFcitx()
|
CheckFcitx()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(fcitx,
|
AC_ARG_ENABLE(fcitx,
|
||||||
AS_HELP_STRING([--enable-fcitx], [enable fcitx support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-fcitx], [enable fcitx support [default=yes]])],
|
||||||
, enable_fcitx=yes)
|
, enable_fcitx=yes)
|
||||||
if test x$enable_fcitx = xyes; then
|
if test x$enable_fcitx = xyes; then
|
||||||
AC_MSG_CHECKING(for fcitx support)
|
AC_MSG_CHECKING(for fcitx support)
|
||||||
|
@ -2879,7 +2879,7 @@ dnl Check to see if GameController framework support is desired
|
||||||
CheckJoystickMFI()
|
CheckJoystickMFI()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(joystick-mfi,
|
AC_ARG_ENABLE(joystick-mfi,
|
||||||
AS_HELP_STRING([--enable-joystick-mfi], [include macOS MFI joystick support [[default=yes]]]),
|
[AS_HELP_STRING([--enable-joystick-mfi], [include macOS MFI joystick support [default=yes]])],
|
||||||
, enable_joystick_mfi=yes)
|
, enable_joystick_mfi=yes)
|
||||||
|
|
||||||
if test x$enable_joystick_mfi = xyes; then
|
if test x$enable_joystick_mfi = xyes; then
|
||||||
|
@ -2921,11 +2921,11 @@ CheckPTHREAD()
|
||||||
{
|
{
|
||||||
dnl Check for pthread support
|
dnl Check for pthread support
|
||||||
AC_ARG_ENABLE(pthreads,
|
AC_ARG_ENABLE(pthreads,
|
||||||
AS_HELP_STRING([--enable-pthreads], [use POSIX threads for multi-threading [[default=yes]]]),
|
[AS_HELP_STRING([--enable-pthreads], [use POSIX threads for multi-threading [default=yes]])],
|
||||||
, enable_pthreads=yes)
|
, enable_pthreads=yes)
|
||||||
dnl This is used on Linux for glibc binary compatibility (Doh!)
|
dnl This is used on Linux for glibc binary compatibility (Doh!)
|
||||||
AC_ARG_ENABLE(pthread-sem,
|
AC_ARG_ENABLE(pthread-sem,
|
||||||
AS_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]),
|
[AS_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [default=yes]])],
|
||||||
, enable_pthread_sem=yes)
|
, enable_pthread_sem=yes)
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-android*)
|
*-*-android*)
|
||||||
|
@ -3181,7 +3181,7 @@ dnl Find the DirectX includes and libraries
|
||||||
CheckDIRECTX()
|
CheckDIRECTX()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(directx,
|
AC_ARG_ENABLE(directx,
|
||||||
AS_HELP_STRING([--enable-directx], [use DirectX for Windows audio/video [[default=yes]]]),
|
[AS_HELP_STRING([--enable-directx], [use DirectX for Windows audio/video [default=yes]])],
|
||||||
, enable_directx=yes)
|
, enable_directx=yes)
|
||||||
if test x$enable_directx = xyes; then
|
if test x$enable_directx = xyes; then
|
||||||
AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
|
AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
|
||||||
|
@ -3214,7 +3214,7 @@ AS_HELP_STRING([--enable-directx], [use DirectX for Windows audio/video [[defaul
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(xinput,
|
AC_ARG_ENABLE(xinput,
|
||||||
AS_HELP_STRING([--enable-xinput], [use Xinput for Windows [[default=yes]]]),
|
[AS_HELP_STRING([--enable-xinput], [use Xinput for Windows [default=yes]])],
|
||||||
, enable_xinput=yes)
|
, enable_xinput=yes)
|
||||||
if test x$enable_xinput = xyes; then
|
if test x$enable_xinput = xyes; then
|
||||||
have_xinput_gamepadex=no
|
have_xinput_gamepadex=no
|
||||||
|
@ -3256,7 +3256,7 @@ XINPUT_STATE_EX s1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(wasapi,
|
AC_ARG_ENABLE(wasapi,
|
||||||
AS_HELP_STRING([--enable-wasapi], [use the Windows WASAPI audio driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-wasapi], [use the Windows WASAPI audio driver [default=yes]])],
|
||||||
, enable_wasapi=yes)
|
, enable_wasapi=yes)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3264,7 +3264,7 @@ dnl Check for the dlfcn.h interface for dynamically loading objects
|
||||||
CheckDLOPEN()
|
CheckDLOPEN()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(sdl-dlopen,
|
AC_ARG_ENABLE(sdl-dlopen,
|
||||||
AS_HELP_STRING([--enable-sdl-dlopen], [use dlopen for shared object loading [[default=yes]]]),
|
[AS_HELP_STRING([--enable-sdl-dlopen], [use dlopen for shared object loading [default=yes]])],
|
||||||
, enable_sdl_dlopen=yes)
|
, enable_sdl_dlopen=yes)
|
||||||
if test x$enable_sdl_dlopen = xyes; then
|
if test x$enable_sdl_dlopen = xyes; then
|
||||||
AC_MSG_CHECKING(for dlopen)
|
AC_MSG_CHECKING(for dlopen)
|
||||||
|
@ -3436,10 +3436,10 @@ dnl Check for HIDAPI joystick drivers
|
||||||
CheckHIDAPI()
|
CheckHIDAPI()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(hidapi,
|
AC_ARG_ENABLE(hidapi,
|
||||||
AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=yes]]]),
|
[AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [default=yes]])],
|
||||||
, enable_hidapi=yes)
|
, enable_hidapi=yes)
|
||||||
AC_ARG_ENABLE(hidapi-libusb,
|
AC_ARG_ENABLE(hidapi-libusb,
|
||||||
AS_HELP_STRING([--enable-hidapi-libusb], [use libusb for low level joystick drivers [[default=maybe]]]),
|
[AS_HELP_STRING([--enable-hidapi-libusb], [use libusb for low level joystick drivers [default=maybe]])],
|
||||||
, enable_hidapi_libusb=maybe)
|
, enable_hidapi_libusb=maybe)
|
||||||
|
|
||||||
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
||||||
|
@ -3515,7 +3515,7 @@ dnl Check for clock_gettime()
|
||||||
CheckClockGettime()
|
CheckClockGettime()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(clock_gettime,
|
AC_ARG_ENABLE(clock_gettime,
|
||||||
AS_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=yes]]]),
|
[AS_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [default=yes]])],
|
||||||
, enable_clock_gettime=yes)
|
, enable_clock_gettime=yes)
|
||||||
if test x$enable_clock_gettime = xyes; then
|
if test x$enable_clock_gettime = xyes; then
|
||||||
AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=yes)
|
AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=yes)
|
||||||
|
@ -3545,7 +3545,7 @@ dnl Check if we want to use RPATH
|
||||||
CheckRPATH()
|
CheckRPATH()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(rpath,
|
AC_ARG_ENABLE(rpath,
|
||||||
AS_HELP_STRING([--enable-rpath], [use an rpath when linking SDL [[default=yes]]]),
|
[AS_HELP_STRING([--enable-rpath], [use an rpath when linking SDL [default=yes]])],
|
||||||
, enable_rpath=yes)
|
, enable_rpath=yes)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3555,14 +3555,14 @@ dnl environment, etc, but most people don't need this.
|
||||||
CheckEventSignals()
|
CheckEventSignals()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(backgrounding-signal,
|
AC_ARG_ENABLE(backgrounding-signal,
|
||||||
AS_HELP_STRING([--enable-backgrounding-signal], [number to use for magic backgrounding signal or 'no' [[default=no]]]),
|
[AS_HELP_STRING([--enable-backgrounding-signal], [number to use for magic backgrounding signal or 'no' [default=no]])],
|
||||||
, enable_backgrounding_signal=no)
|
, enable_backgrounding_signal=no)
|
||||||
if test x$enable_backgrounding_signal != xno; then
|
if test x$enable_backgrounding_signal != xno; then
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -DSDL_BACKGROUNDING_SIGNAL=$enable_backgrounding_signal"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -DSDL_BACKGROUNDING_SIGNAL=$enable_backgrounding_signal"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(foregrounding-signal,
|
AC_ARG_ENABLE(foregrounding-signal,
|
||||||
AS_HELP_STRING([--enable-foregrounding-signal], [number to use for magic foregrounding signal or 'no' [[default=no]]]),
|
[AS_HELP_STRING([--enable-foregrounding-signal], [number to use for magic foregrounding signal or 'no' [default=no]])],
|
||||||
, enable_foregrounding_signal=no)
|
, enable_foregrounding_signal=no)
|
||||||
if test x$enable_foregrounding_signal != xno; then
|
if test x$enable_foregrounding_signal != xno; then
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -DSDL_FOREGROUNDING_SIGNAL=$enable_foregrounding_signal"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -DSDL_FOREGROUNDING_SIGNAL=$enable_foregrounding_signal"
|
||||||
|
@ -3573,7 +3573,7 @@ dnl Set up the Virtual joystick driver.
|
||||||
CheckVirtualJoystick()
|
CheckVirtualJoystick()
|
||||||
{
|
{
|
||||||
AC_ARG_ENABLE(joystick-virtual,
|
AC_ARG_ENABLE(joystick-virtual,
|
||||||
AS_HELP_STRING([--enable-joystick-virtual], [enable virtual joystick APIs [[default=yes]]]),
|
[AS_HELP_STRING([--enable-joystick-virtual], [enable virtual joystick APIs [default=yes]])],
|
||||||
, enable_joystick_virtual=yes)
|
, enable_joystick_virtual=yes)
|
||||||
if test x$enable_joystick = xyes -a x$enable_joystick_virtual = xyes; then
|
if test x$enable_joystick = xyes -a x$enable_joystick_virtual = xyes; then
|
||||||
AC_DEFINE(SDL_JOYSTICK_VIRTUAL, 1, [ ])
|
AC_DEFINE(SDL_JOYSTICK_VIRTUAL, 1, [ ])
|
||||||
|
@ -3870,7 +3870,7 @@ case "$host" in
|
||||||
SOURCES="$SOURCES $srcdir/src/video/windows/*.c"
|
SOURCES="$SOURCES $srcdir/src/video/windows/*.c"
|
||||||
have_video=yes
|
have_video=yes
|
||||||
AC_ARG_ENABLE(render-d3d,
|
AC_ARG_ENABLE(render-d3d,
|
||||||
AS_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[default=yes]]]),
|
[AS_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [default=yes]])],
|
||||||
, enable_render_d3d=yes)
|
, enable_render_d3d=yes)
|
||||||
if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
|
if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
|
||||||
AC_DEFINE(SDL_VIDEO_RENDER_D3D, 1, [ ])
|
AC_DEFINE(SDL_VIDEO_RENDER_D3D, 1, [ ])
|
||||||
|
@ -4352,7 +4352,7 @@ CheckVirtualJoystick
|
||||||
# Check whether to install sdl2-config
|
# Check whether to install sdl2-config
|
||||||
AC_MSG_CHECKING(whether to install sdl2-config)
|
AC_MSG_CHECKING(whether to install sdl2-config)
|
||||||
AC_ARG_ENABLE([sdl2-config],
|
AC_ARG_ENABLE([sdl2-config],
|
||||||
AS_HELP_STRING([--enable-sdl2-config], [Install sdl2-config [default=yes]]),
|
[AS_HELP_STRING([--enable-sdl2-config],[Install sdl2-config [default=yes]])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) enable_sdl2_config="TRUE" ;;
|
yes) enable_sdl2_config="TRUE" ;;
|
||||||
no) enable_sdl2_config="FALSE" ;;
|
no) enable_sdl2_config="FALSE" ;;
|
||||||
|
|
Loading…
Reference in New Issue