mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed bug 4452 - Please replace AC_HELP_STRING with AS_HELP_STRING
Hugh McMaster AC_HELP_STRING is deprecated and is considered an obsolete macro in autoconf 2.69. Please replace AC_HELP_STRING with AS_HELP_STRING.
This commit is contained in:
parent
40e3c015f1
commit
938a5508d1
184
configure.in
184
configure.in
@ -174,7 +174,7 @@ AC_C_VOLATILE
|
||||
|
||||
dnl See whether we want assertions for debugging/sanity checking SDL itself.
|
||||
AC_ARG_ENABLE(assertions,
|
||||
AC_HELP_STRING([--enable-assertions],
|
||||
AS_HELP_STRING([--enable-assertions],
|
||||
[Enable internal sanity checks (auto/disabled/release/enabled/paranoid) [[default=auto]]]),
|
||||
, enable_assertions=auto)
|
||||
case "$enable_assertions" in
|
||||
@ -199,7 +199,7 @@ esac
|
||||
|
||||
dnl See whether we can use gcc style dependency tracking
|
||||
AC_ARG_ENABLE(dependency-tracking,
|
||||
AC_HELP_STRING([--enable-dependency-tracking],
|
||||
AS_HELP_STRING([--enable-dependency-tracking],
|
||||
[Use gcc -MMD -MT dependency tracking [[default=yes]]]),
|
||||
, enable_dependency_tracking=yes)
|
||||
if test x$enable_dependency_tracking = xyes; then
|
||||
@ -294,7 +294,7 @@ AC_MSG_RESULT($have_high_entropy_va)
|
||||
|
||||
dnl See whether we are allowed to use the system C library
|
||||
AC_ARG_ENABLE(libc,
|
||||
AC_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)
|
||||
if test x$enable_libc = xyes; then
|
||||
AC_DEFINE(HAVE_LIBC, 1, [ ])
|
||||
@ -353,7 +353,7 @@ dnl AC_CHECK_SIZEOF(void*)
|
||||
|
||||
dnl See whether we can use gcc atomic operations on this architecture
|
||||
AC_ARG_ENABLE(gcc-atomics,
|
||||
AC_HELP_STRING([--enable-gcc-atomics],
|
||||
AS_HELP_STRING([--enable-gcc-atomics],
|
||||
[Use gcc builtin atomics [[default=yes]]]),
|
||||
, enable_gcc_atomics=yes)
|
||||
if test x$enable_gcc_atomics = xyes; then
|
||||
@ -416,7 +416,7 @@ SOURCES="$SOURCES $srcdir/src/video/yuv2rgb/*.c"
|
||||
dnl Enable/disable various subsystems of the SDL library
|
||||
|
||||
AC_ARG_ENABLE(atomic,
|
||||
AC_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)
|
||||
if test x$enable_atomic != xyes; then
|
||||
AC_DEFINE(SDL_ATOMIC_DISABLED, 1, [ ])
|
||||
@ -424,7 +424,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} atomic"
|
||||
fi
|
||||
AC_ARG_ENABLE(audio,
|
||||
AC_HELP_STRING([--enable-audio], [Enable the audio subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-audio], [Enable the audio subsystem [[default=yes]]]),
|
||||
, enable_audio=yes)
|
||||
if test x$enable_audio != xyes; then
|
||||
AC_DEFINE(SDL_AUDIO_DISABLED, 1, [ ])
|
||||
@ -432,7 +432,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} audio"
|
||||
fi
|
||||
AC_ARG_ENABLE(video,
|
||||
AC_HELP_STRING([--enable-video], [Enable the video subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-video], [Enable the video subsystem [[default=yes]]]),
|
||||
, enable_video=yes)
|
||||
if test x$enable_video != xyes; then
|
||||
AC_DEFINE(SDL_VIDEO_DISABLED, 1, [ ])
|
||||
@ -440,7 +440,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} video"
|
||||
fi
|
||||
AC_ARG_ENABLE(render,
|
||||
AC_HELP_STRING([--enable-render], [Enable the render subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-render], [Enable the render subsystem [[default=yes]]]),
|
||||
, enable_render=yes)
|
||||
if test x$enable_render != xyes; then
|
||||
AC_DEFINE(SDL_RENDER_DISABLED, 1, [ ])
|
||||
@ -448,7 +448,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} render"
|
||||
fi
|
||||
AC_ARG_ENABLE(events,
|
||||
AC_HELP_STRING([--enable-events], [Enable the events subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-events], [Enable the events subsystem [[default=yes]]]),
|
||||
, enable_events=yes)
|
||||
if test x$enable_events != xyes; then
|
||||
AC_DEFINE(SDL_EVENTS_DISABLED, 1, [ ])
|
||||
@ -456,7 +456,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} events"
|
||||
fi
|
||||
AC_ARG_ENABLE(joystick,
|
||||
AC_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [[default=yes]]]),
|
||||
, enable_joystick=yes)
|
||||
if test x$enable_joystick != xyes; then
|
||||
AC_DEFINE(SDL_JOYSTICK_DISABLED, 1, [ ])
|
||||
@ -464,7 +464,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} joystick"
|
||||
fi
|
||||
AC_ARG_ENABLE(haptic,
|
||||
AC_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)
|
||||
if test x$enable_haptic != xyes; then
|
||||
AC_DEFINE(SDL_HAPTIC_DISABLED, 1, [ ])
|
||||
@ -472,7 +472,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} haptic"
|
||||
fi
|
||||
AC_ARG_ENABLE(sensor,
|
||||
AC_HELP_STRING([--enable-sensor], [Enable the sensor subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-sensor], [Enable the sensor subsystem [[default=yes]]]),
|
||||
, enable_sensor=yes)
|
||||
if test x$enable_sensor != xyes; then
|
||||
AC_DEFINE(SDL_SENSOR_DISABLED, 1, [ ])
|
||||
@ -480,7 +480,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} sensor"
|
||||
fi
|
||||
AC_ARG_ENABLE(power,
|
||||
AC_HELP_STRING([--enable-power], [Enable the power subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-power], [Enable the power subsystem [[default=yes]]]),
|
||||
, enable_power=yes)
|
||||
if test x$enable_power != xyes; then
|
||||
AC_DEFINE(SDL_POWER_DISABLED, 1, [ ])
|
||||
@ -488,7 +488,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} power"
|
||||
fi
|
||||
AC_ARG_ENABLE(filesystem,
|
||||
AC_HELP_STRING([--enable-filesystem], [Enable the filesystem subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-filesystem], [Enable the filesystem subsystem [[default=yes]]]),
|
||||
, enable_filesystem=yes)
|
||||
if test x$enable_filesystem != xyes; then
|
||||
AC_DEFINE(SDL_FILESYSTEM_DISABLED, 1, [ ])
|
||||
@ -496,7 +496,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} filesystem"
|
||||
fi
|
||||
AC_ARG_ENABLE(threads,
|
||||
AC_HELP_STRING([--enable-threads], [Enable the threading subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-threads], [Enable the threading subsystem [[default=yes]]]),
|
||||
, enable_threads=yes)
|
||||
if test x$enable_threads != xyes; then
|
||||
AC_DEFINE(SDL_THREADS_DISABLED, 1, [ ])
|
||||
@ -504,7 +504,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} threads"
|
||||
fi
|
||||
AC_ARG_ENABLE(timers,
|
||||
AC_HELP_STRING([--enable-timers], [Enable the timer subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-timers], [Enable the timer subsystem [[default=yes]]]),
|
||||
, enable_timers=yes)
|
||||
if test x$enable_timers != xyes; then
|
||||
AC_DEFINE(SDL_TIMERS_DISABLED, 1, [ ])
|
||||
@ -512,7 +512,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} timers"
|
||||
fi
|
||||
AC_ARG_ENABLE(file,
|
||||
AC_HELP_STRING([--enable-file], [Enable the file subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-file], [Enable the file subsystem [[default=yes]]]),
|
||||
, enable_file=yes)
|
||||
if test x$enable_file != xyes; then
|
||||
AC_DEFINE(SDL_FILE_DISABLED, 1, [ ])
|
||||
@ -520,7 +520,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} file"
|
||||
fi
|
||||
AC_ARG_ENABLE(loadso,
|
||||
AC_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)
|
||||
if test x$enable_loadso != xyes; then
|
||||
AC_DEFINE(SDL_LOADSO_DISABLED, 1, [ ])
|
||||
@ -528,7 +528,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} loadso"
|
||||
fi
|
||||
AC_ARG_ENABLE(cpuinfo,
|
||||
AC_HELP_STRING([--enable-cpuinfo], [Enable the cpuinfo subsystem [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-cpuinfo], [Enable the cpuinfo subsystem [[default=yes]]]),
|
||||
, enable_cpuinfo=yes)
|
||||
if test x$enable_cpuinfo != xyes; then
|
||||
AC_DEFINE(SDL_CPUINFO_DISABLED, 1, [ ])
|
||||
@ -536,7 +536,7 @@ else
|
||||
SUMMARY_modules="${SUMMARY_modules} cpuinfo"
|
||||
fi
|
||||
AC_ARG_ENABLE(assembly,
|
||||
AC_HELP_STRING([--enable-assembly], [Enable assembly routines [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-assembly], [Enable assembly routines [[default=yes]]]),
|
||||
, enable_assembly=yes)
|
||||
if test x$enable_assembly = xyes; then
|
||||
SUMMARY_modules="${SUMMARY_modules} assembly"
|
||||
@ -559,7 +559,7 @@ if test x$enable_assembly = xyes; then
|
||||
;;
|
||||
esac
|
||||
AC_ARG_ENABLE(ssemath,
|
||||
AC_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)
|
||||
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
|
||||
@ -569,7 +569,7 @@ AC_HELP_STRING([--enable-ssemath], [Allow GCC to use SSE floating point math [[d
|
||||
|
||||
dnl Check for various instruction support
|
||||
AC_ARG_ENABLE(mmx,
|
||||
AC_HELP_STRING([--enable-mmx], [use MMX assembly routines [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-mmx], [use MMX assembly routines [[default=yes]]]),
|
||||
, enable_mmx=yes)
|
||||
if test x$enable_mmx = xyes; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
@ -606,7 +606,7 @@ AC_HELP_STRING([--enable-mmx], [use MMX assembly routines [[default=yes]]]),
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(3dnow,
|
||||
AC_HELP_STRING([--enable-3dnow], [use 3DNow! assembly routines [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-3dnow], [use 3DNow! assembly routines [[default=yes]]]),
|
||||
, enable_3dnow=yes)
|
||||
if test x$enable_3dnow = xyes; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
@ -636,7 +636,7 @@ AC_HELP_STRING([--enable-3dnow], [use 3DNow! assembly routines [[default=yes]]])
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(sse,
|
||||
AC_HELP_STRING([--enable-sse], [use SSE assembly routines [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-sse], [use SSE assembly routines [[default=yes]]]),
|
||||
, enable_sse=yes)
|
||||
if test x$enable_sse = xyes; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
@ -673,7 +673,7 @@ AC_HELP_STRING([--enable-sse], [use SSE assembly routines [[default=yes]]]),
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(sse2,
|
||||
AC_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)
|
||||
if test x$enable_sse2 = xyes; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
@ -710,7 +710,7 @@ AC_HELP_STRING([--enable-sse2], [use SSE2 assembly routines [[default=maybe]]]),
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(sse3,
|
||||
AC_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)
|
||||
if test x$enable_sse3 = xyes; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
@ -754,7 +754,7 @@ AC_HELP_STRING([--enable-sse3], [use SSE3 assembly routines [[default=maybe]]]),
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(altivec,
|
||||
AC_HELP_STRING([--enable-altivec], [use Altivec assembly routines [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-altivec], [use Altivec assembly routines [[default=yes]]]),
|
||||
, enable_altivec=yes)
|
||||
if test x$enable_altivec = xyes; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
@ -835,7 +835,7 @@ dnl See if the OSS audio interface is supported
|
||||
CheckOSS()
|
||||
{
|
||||
AC_ARG_ENABLE(oss,
|
||||
AC_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)
|
||||
|
||||
# OpenBSD "has" OSS, but it's not really for app use. They want you to
|
||||
@ -891,7 +891,7 @@ dnl See if the ALSA audio interface is supported
|
||||
CheckALSA()
|
||||
{
|
||||
AC_ARG_ENABLE(alsa,
|
||||
AC_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)
|
||||
if test x$enable_audio = xyes -a x$enable_alsa = xyes; then
|
||||
AM_PATH_ALSA(1.0.11, have_alsa=yes, have_alsa=no)
|
||||
@ -901,7 +901,7 @@ AC_HELP_STRING([--enable-alsa], [support the ALSA audio API [[default=yes]]]),
|
||||
LIBS="$alsa_save_LIBS"
|
||||
if test x$have_alsa = xyes; then
|
||||
AC_ARG_ENABLE(alsa-shared,
|
||||
AC_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)
|
||||
alsa_lib=[`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||
|
||||
@ -930,14 +930,14 @@ dnl Find JACK Audio
|
||||
CheckJACK()
|
||||
{
|
||||
AC_ARG_ENABLE(jack,
|
||||
AC_HELP_STRING([--enable-jack], [use JACK audio [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-jack], [use JACK audio [[default=yes]]]),
|
||||
, enable_jack=yes)
|
||||
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)
|
||||
|
||||
if test x$audio_jack = xyes; then
|
||||
AC_ARG_ENABLE(jack-shared,
|
||||
AC_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)
|
||||
jack_lib=[`find_lib "libjack.so.*" "$JACK_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||
|
||||
@ -974,13 +974,13 @@ dnl Find the ESD includes and libraries
|
||||
CheckESD()
|
||||
{
|
||||
AC_ARG_ENABLE(esd,
|
||||
AC_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)
|
||||
if test x$enable_audio = xyes -a x$enable_esd = xyes; then
|
||||
AM_PATH_ESD(0.2.8, have_esd=yes, have_esd=no)
|
||||
if test x$have_esd = xyes; then
|
||||
AC_ARG_ENABLE(esd-shared,
|
||||
AC_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)
|
||||
esd_lib=[`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||
|
||||
@ -1009,14 +1009,14 @@ dnl Find PulseAudio
|
||||
CheckPulseAudio()
|
||||
{
|
||||
AC_ARG_ENABLE(pulseaudio,
|
||||
AC_HELP_STRING([--enable-pulseaudio], [use PulseAudio [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-pulseaudio], [use PulseAudio [[default=yes]]]),
|
||||
, enable_pulseaudio=yes)
|
||||
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)
|
||||
|
||||
if test x$audio_pulseaudio = xyes; then
|
||||
AC_ARG_ENABLE(pulseaudio-shared,
|
||||
AC_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)
|
||||
pulseaudio_lib=[`find_lib "libpulse-simple.so.*" "$PULSEAUDIO_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||
|
||||
@ -1052,7 +1052,7 @@ AC_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio suppor
|
||||
CheckARTSC()
|
||||
{
|
||||
AC_ARG_ENABLE(arts,
|
||||
AC_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)
|
||||
if test x$enable_audio = xyes -a x$enable_arts = xyes; then
|
||||
AC_PATH_PROG(ARTSCONFIG, artsc-config)
|
||||
@ -1076,7 +1076,7 @@ AC_HELP_STRING([--enable-arts], [support the Analog Real Time Synthesizer [[defa
|
||||
AC_MSG_RESULT($audio_arts)
|
||||
if test x$audio_arts = xyes; then
|
||||
AC_ARG_ENABLE(arts-shared,
|
||||
AC_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)
|
||||
arts_lib=[`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||
|
||||
@ -1106,7 +1106,7 @@ dnl See if the NAS audio interface is supported
|
||||
CheckNAS()
|
||||
{
|
||||
AC_ARG_ENABLE(nas,
|
||||
AC_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)
|
||||
if test x$enable_audio = xyes -a x$enable_nas = xyes; then
|
||||
AC_CHECK_HEADER(audio/audiolib.h, have_nas_hdr=yes)
|
||||
@ -1130,7 +1130,7 @@ AC_HELP_STRING([--enable-nas], [support the NAS audio API [[default=yes]]]),
|
||||
|
||||
if test x$have_nas = xyes; then
|
||||
AC_ARG_ENABLE(nas-shared,
|
||||
AC_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)
|
||||
nas_lib=[`find_lib "libaudio.so.*" "$NAS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||
|
||||
@ -1160,7 +1160,7 @@ dnl See if the sndio audio interface is supported
|
||||
CheckSNDIO()
|
||||
{
|
||||
AC_ARG_ENABLE(sndio,
|
||||
AC_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)
|
||||
if test x$enable_audio = xyes -a x$enable_sndio = xyes; then
|
||||
AC_CHECK_HEADER(sndio.h, have_sndio_hdr=yes)
|
||||
@ -1178,7 +1178,7 @@ AC_HELP_STRING([--enable-sndio], [support the sndio audio API [[default=yes]]]),
|
||||
|
||||
if test x$have_sndio = xyes; then
|
||||
AC_ARG_ENABLE(sndio-shared,
|
||||
AC_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)
|
||||
sndio_lib=[`find_lib "libsndio.so.*" "$SNDIO_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||
|
||||
@ -1208,7 +1208,7 @@ dnl Find FusionSound
|
||||
CheckFusionSound()
|
||||
{
|
||||
AC_ARG_ENABLE(fusionsound,
|
||||
AC_HELP_STRING([--enable-fusionsound], [use FusionSound audio driver [[default=no]]]),
|
||||
AS_HELP_STRING([--enable-fusionsound], [use FusionSound audio driver [[default=no]]]),
|
||||
, enable_fusionsound=no)
|
||||
if test x$enable_audio = xyes -a x$enable_fusionsound = xyes; then
|
||||
PKG_CHECK_MODULES([FUSIONSOUND], [fusionsound >= 1.1.1], fusionsound=yes, fusionsound=no)
|
||||
@ -1219,7 +1219,7 @@ AC_HELP_STRING([--enable-fusionsound], [use FusionSound audio driver [[default=n
|
||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $FUSIONSOUND_CFLAGS"
|
||||
|
||||
AC_ARG_ENABLE(fusionsound-shared,
|
||||
AC_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)
|
||||
fusionsound_shared=no
|
||||
AC_MSG_CHECKING(for FusionSound dynamic loading support)
|
||||
@ -1247,7 +1247,7 @@ dnl rcg07142001 See if the user wants the disk writer audio driver...
|
||||
CheckDiskAudio()
|
||||
{
|
||||
AC_ARG_ENABLE(diskaudio,
|
||||
AC_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)
|
||||
if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then
|
||||
AC_DEFINE(SDL_AUDIO_DRIVER_DISK, 1, [ ])
|
||||
@ -1260,7 +1260,7 @@ dnl rcg03142006 See if the user wants the dummy audio driver...
|
||||
CheckDummyAudio()
|
||||
{
|
||||
AC_ARG_ENABLE(dummyaudio,
|
||||
AC_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)
|
||||
if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then
|
||||
AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY, 1, [ ])
|
||||
@ -1273,7 +1273,7 @@ dnl See if libsamplerate is available
|
||||
CheckLibSampleRate()
|
||||
{
|
||||
AC_ARG_ENABLE(libsamplerate,
|
||||
AC_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)
|
||||
if test x$enable_libsamplerate = xyes; then
|
||||
AC_CHECK_HEADER(samplerate.h,
|
||||
@ -1283,7 +1283,7 @@ AC_HELP_STRING([--enable-libsamplerate], [use libsamplerate for audio rate conve
|
||||
AC_DEFINE(HAVE_LIBSAMPLERATE_H, 1, [ ])
|
||||
|
||||
AC_ARG_ENABLE(libsamplerate-shared,
|
||||
AC_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)
|
||||
|
||||
samplerate_lib=[`find_lib "libsamplerate.so.*" "" | sed 's/.*\/\(.*\)/\1/; q'`]
|
||||
@ -1415,11 +1415,11 @@ dnl Check for Wayland
|
||||
CheckWayland()
|
||||
{
|
||||
AC_ARG_ENABLE(video-wayland,
|
||||
AC_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)
|
||||
|
||||
AC_ARG_ENABLE(video-wayland-qt-touch,
|
||||
AC_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)
|
||||
|
||||
if test x$enable_video = xyes -a x$enable_video_wayland = xyes; then
|
||||
@ -1446,7 +1446,7 @@ AC_HELP_STRING([--enable-video-wayland-qt-touch], [QtWayland server support for
|
||||
SOURCES="$SOURCES $WAYLAND_SOURCES"
|
||||
EXTRA_CFLAGS="$EXTRA_CFLAGS $WAYLAND_CFLAGS -I\$(gen)"
|
||||
AC_ARG_ENABLE(wayland-shared,
|
||||
AC_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)
|
||||
|
||||
dnl FIXME: Do BSD and OS X need special cases?
|
||||
@ -1527,7 +1527,7 @@ CheckNativeClient()
|
||||
CheckRPI()
|
||||
{
|
||||
AC_ARG_ENABLE(video-rpi,
|
||||
AC_HELP_STRING([--enable-video-rpi], [use Raspberry Pi video driver [[default=no]]]),
|
||||
AS_HELP_STRING([--enable-video-rpi], [use Raspberry Pi video driver [[default=no]]]),
|
||||
, enable_video_rpi=no)
|
||||
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)
|
||||
@ -1579,7 +1579,7 @@ dnl Find the X11 include and library directories
|
||||
CheckX11()
|
||||
{
|
||||
AC_ARG_ENABLE(video-x11,
|
||||
AC_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)
|
||||
if test x$enable_video = xyes -a x$enable_video_x11 = xyes; then
|
||||
case "$host" in
|
||||
@ -1598,7 +1598,7 @@ AC_HELP_STRING([--enable-video-x11], [use X11 video driver [[default=yes]]]),
|
||||
AC_PATH_XTRA
|
||||
if test x$have_x = xyes; then
|
||||
AC_ARG_ENABLE(x11-shared,
|
||||
AC_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)
|
||||
|
||||
case "$host" in
|
||||
@ -1720,7 +1720,7 @@ XFreeEventData(display, cookie);
|
||||
AC_CHECK_LIB(X11, XkbKeycodeToKeysym, AC_DEFINE(SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM, 1, [Have XkbKeycodeToKeysym]))
|
||||
|
||||
AC_ARG_ENABLE(video-x11-xcursor,
|
||||
AC_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)
|
||||
if test x$enable_video_x11_xcursor = xyes; then
|
||||
definitely_enable_video_x11_xcursor=no
|
||||
@ -1748,7 +1748,7 @@ AC_HELP_STRING([--enable-video-x11-xcursor], [enable X11 Xcursor support [[defau
|
||||
SUMMARY_video_x11="${SUMMARY_video_x11} xcursor"
|
||||
fi
|
||||
AC_ARG_ENABLE(video-x11-xdbe,
|
||||
AC_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)
|
||||
if test x$enable_video_x11_xdbe = xyes; then
|
||||
AC_CHECK_HEADER(X11/extensions/Xdbe.h,
|
||||
@ -1762,7 +1762,7 @@ AC_HELP_STRING([--enable-video-x11-xdbe], [enable X11 Xdbe support [[default=yes
|
||||
fi
|
||||
fi
|
||||
AC_ARG_ENABLE(video-x11-xinerama,
|
||||
AC_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)
|
||||
if test x$enable_video_x11_xinerama = xyes; then
|
||||
definitely_enable_video_x11_xinerama=no
|
||||
@ -1790,7 +1790,7 @@ AC_HELP_STRING([--enable-video-x11-xinerama], [enable X11 Xinerama support [[def
|
||||
SUMMARY_video_x11="${SUMMARY_video_x11} xinerama"
|
||||
fi
|
||||
AC_ARG_ENABLE(video-x11-xinput,
|
||||
AC_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)
|
||||
if test x$enable_video_x11_xinput = xyes; then
|
||||
definitely_enable_video_x11_xinput=no
|
||||
@ -1833,7 +1833,7 @@ XITouchClassInfo *t;
|
||||
AC_MSG_RESULT($have_xinput2_multitouch)
|
||||
fi
|
||||
AC_ARG_ENABLE(video-x11-xrandr,
|
||||
AC_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)
|
||||
if test x$enable_video_x11_xrandr = xyes; then
|
||||
dnl XRRScreenResources is only present in Xrandr >= 1.2, we use that as a test.
|
||||
@ -1866,7 +1866,7 @@ AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for ful
|
||||
SUMMARY_video_x11="${SUMMARY_video_x11} xrandr"
|
||||
fi
|
||||
AC_ARG_ENABLE(video-x11-scrnsaver,
|
||||
AC_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)
|
||||
if test x$enable_video_x11_scrnsaver = xyes; then
|
||||
AC_CHECK_HEADER(X11/extensions/scrnsaver.h,
|
||||
@ -1893,7 +1893,7 @@ AC_HELP_STRING([--enable-video-x11-scrnsaver], [enable X11 screensaver extension
|
||||
SUMMARY_video_x11="${SUMMARY_video_x11} xscrnsaver"
|
||||
fi
|
||||
AC_ARG_ENABLE(video-x11-xshape,
|
||||
AC_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)
|
||||
if test x$enable_video_x11_xshape = xyes; then
|
||||
AC_CHECK_HEADER(X11/extensions/shape.h,
|
||||
@ -1907,7 +1907,7 @@ AC_HELP_STRING([--enable-video-x11-xshape], [enable X11 XShape support [[default
|
||||
fi
|
||||
fi
|
||||
AC_ARG_ENABLE(video-x11-vm,
|
||||
AC_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)
|
||||
if test x$enable_video_x11_vm = xyes; then
|
||||
definitely_enable_video_x11_vm=no
|
||||
@ -1942,7 +1942,7 @@ dnl Set up the Vivante video driver if enabled
|
||||
CheckVivanteVideo()
|
||||
{
|
||||
AC_ARG_ENABLE(video-vivante,
|
||||
AC_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)
|
||||
if test x$enable_video = xyes -a x$enable_video_vivante = xyes; then
|
||||
AC_MSG_CHECKING(for Vivante VDK API)
|
||||
@ -1998,7 +1998,7 @@ dnl Set up the Cocoa video driver for Mac OS X (but not Darwin)
|
||||
CheckCOCOA()
|
||||
{
|
||||
AC_ARG_ENABLE(video-cocoa,
|
||||
AC_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)
|
||||
if test x$enable_video = xyes -a x$enable_video_cocoa = xyes; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
@ -2026,7 +2026,7 @@ AC_HELP_STRING([--enable-video-cocoa], [use Cocoa video driver [[default=yes]]])
|
||||
CheckMETAL()
|
||||
{
|
||||
AC_ARG_ENABLE(render-metal,
|
||||
AC_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)
|
||||
if test x$enable_render = xyes -a x$enable_render_metal = xyes; then
|
||||
save_CFLAGS="$CFLAGS"
|
||||
@ -2063,7 +2063,7 @@ dnl Find DirectFB
|
||||
CheckDirectFB()
|
||||
{
|
||||
AC_ARG_ENABLE(video-directfb,
|
||||
AC_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)
|
||||
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)
|
||||
@ -2079,7 +2079,7 @@ AC_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [[default=n
|
||||
|
||||
if test x$video_directfb = xyes; then
|
||||
AC_ARG_ENABLE(directfb-shared,
|
||||
AC_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)
|
||||
|
||||
AC_DEFINE(SDL_VIDEO_DRIVER_DIRECTFB, 1, [ ])
|
||||
@ -2117,7 +2117,7 @@ dnl Find KMSDRM
|
||||
CheckKMSDRM()
|
||||
{
|
||||
AC_ARG_ENABLE(video-kmsdrm,
|
||||
AC_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)
|
||||
|
||||
if test x$enable_video = xyes -a x$enable_video_kmsdrm = xyes; then
|
||||
@ -2132,7 +2132,7 @@ AC_HELP_STRING([--enable-video-kmsdrm], [use KMSDRM video driver [[default=no]]]
|
||||
|
||||
if test x$video_kmsdrm = xyes; then
|
||||
AC_ARG_ENABLE(kmsdrm-shared,
|
||||
AC_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)
|
||||
|
||||
AC_DEFINE(SDL_VIDEO_DRIVER_KMSDRM, 1, [ ])
|
||||
@ -2168,7 +2168,7 @@ dnl rcg04172001 Set up the Null video driver.
|
||||
CheckDummyVideo()
|
||||
{
|
||||
AC_ARG_ENABLE(video-dummy,
|
||||
AC_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)
|
||||
if test x$enable_video_dummy = xyes; then
|
||||
AC_DEFINE(SDL_VIDEO_DRIVER_DUMMY, 1, [ ])
|
||||
@ -2204,7 +2204,7 @@ CheckQNXAudio()
|
||||
|
||||
dnl Check to see if OpenGL support is desired
|
||||
AC_ARG_ENABLE(video-opengl,
|
||||
AC_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)
|
||||
|
||||
dnl Find OpenGL
|
||||
@ -2232,13 +2232,13 @@ CheckOpenGLX11()
|
||||
|
||||
dnl Check to see if OpenGL ES support is desired
|
||||
AC_ARG_ENABLE(video-opengles,
|
||||
AC_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)
|
||||
AC_ARG_ENABLE(video-opengles1,
|
||||
AC_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)
|
||||
AC_ARG_ENABLE(video-opengles2,
|
||||
AC_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)
|
||||
|
||||
dnl Find OpenGL ES
|
||||
@ -2422,7 +2422,7 @@ CheckEmscriptenGLES()
|
||||
|
||||
dnl Check to see if Vulkan support is desired
|
||||
AC_ARG_ENABLE(video-vulkan,
|
||||
AC_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)
|
||||
|
||||
dnl Find Vulkan Header
|
||||
@ -2524,7 +2524,7 @@ dnl See if the platform offers libudev for device enumeration and hotplugging.
|
||||
CheckLibUDev()
|
||||
{
|
||||
AC_ARG_ENABLE(libudev,
|
||||
AC_HELP_STRING([--enable-libudev], [enable libudev support [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-libudev], [enable libudev support [[default=yes]]]),
|
||||
, enable_libudev=yes)
|
||||
if test x$enable_libudev = xyes; then
|
||||
AC_CHECK_HEADER(libudev.h,
|
||||
@ -2546,7 +2546,7 @@ dnl See if the platform offers libdbus for various IPC techniques.
|
||||
CheckDBus()
|
||||
{
|
||||
AC_ARG_ENABLE(dbus,
|
||||
AC_HELP_STRING([--enable-dbus], [enable D-Bus support [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-dbus], [enable D-Bus support [[default=yes]]]),
|
||||
, enable_dbus=yes)
|
||||
if test x$enable_dbus = xyes; then
|
||||
PKG_CHECK_MODULES([DBUS], [dbus-1])
|
||||
@ -2568,7 +2568,7 @@ dnl See if the platform wanna IME support.
|
||||
CheckIME()
|
||||
{
|
||||
AC_ARG_ENABLE(ime,
|
||||
AC_HELP_STRING([--enable-ime], [enable IME support [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-ime], [enable IME support [[default=yes]]]),
|
||||
, enable_ime=yes)
|
||||
if test x$enable_ime = xyes; then
|
||||
AC_DEFINE(SDL_USE_IME, 1, [ ])
|
||||
@ -2580,7 +2580,7 @@ dnl See if the platform has libibus IME support.
|
||||
CheckIBus()
|
||||
{
|
||||
AC_ARG_ENABLE(ibus,
|
||||
AC_HELP_STRING([--enable-ibus], [enable IBus support [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-ibus], [enable IBus support [[default=yes]]]),
|
||||
, enable_ibus=yes)
|
||||
if test x$enable_ibus = xyes; then
|
||||
PKG_CHECK_MODULES([IBUS], [ibus-1.0])
|
||||
@ -2616,7 +2616,7 @@ dnl See if the platform has fcitx IME support.
|
||||
CheckFcitx()
|
||||
{
|
||||
AC_ARG_ENABLE(fcitx,
|
||||
AC_HELP_STRING([--enable-fcitx], [enable fcitx support [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-fcitx], [enable fcitx support [[default=yes]]]),
|
||||
, enable_fcitx=yes)
|
||||
if test x$enable_fcitx = xyes; then
|
||||
PKG_CHECK_MODULES([FCITX], [fcitx])
|
||||
@ -2645,7 +2645,7 @@ dnl See if we can use the Touchscreen input library
|
||||
CheckTslib()
|
||||
{
|
||||
AC_ARG_ENABLE(input-tslib,
|
||||
AC_HELP_STRING([--enable-input-tslib], [use the Touchscreen library for input [[default=yes]]]),
|
||||
AS_HELP_STRING([--enable-input-tslib], [use the Touchscreen library for input [[default=yes]]]),
|
||||
, enable_input_tslib=yes)
|
||||
if test x$enable_input_tslib = xyes; then
|
||||
AC_MSG_CHECKING(for Touchscreen library support)
|
||||
@ -2670,11 +2670,11 @@ CheckPTHREAD()
|
||||
{
|
||||
dnl Check for pthread support
|
||||
AC_ARG_ENABLE(pthreads,
|
||||
AC_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)
|
||||
dnl This is used on Linux for glibc binary compatibility (Doh!)
|
||||
AC_ARG_ENABLE(pthread-sem,
|
||||
AC_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)
|
||||
case "$host" in
|
||||
*-*-android*)
|
||||
@ -2930,7 +2930,7 @@ dnl Find the DirectX includes and libraries
|
||||
CheckDIRECTX()
|
||||
{
|
||||
AC_ARG_ENABLE(directx,
|
||||
AC_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)
|
||||
if test x$enable_directx = xyes; then
|
||||
AC_CHECK_HEADER(d3d9.h, have_d3d=yes)
|
||||
@ -2997,7 +2997,7 @@ XINPUT_STATE_EX s1;
|
||||
AC_CHECK_HEADER(endpointvolume.h,AC_DEFINE(HAVE_ENDPOINTVOLUME_H,1,[]))
|
||||
|
||||
AC_ARG_ENABLE(wasapi,
|
||||
AC_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)
|
||||
}
|
||||
|
||||
@ -3005,7 +3005,7 @@ dnl Check for the dlfcn.h interface for dynamically loading objects
|
||||
CheckDLOPEN()
|
||||
{
|
||||
AC_ARG_ENABLE(sdl-dlopen,
|
||||
AC_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)
|
||||
if test x$enable_sdl_dlopen = xyes; then
|
||||
AC_MSG_CHECKING(for dlopen)
|
||||
@ -3180,7 +3180,7 @@ CheckHIDAPI()
|
||||
#
|
||||
# Except that libusb requires root permissions to open devices, so that's not generally useful, and we'll disable this by default.
|
||||
AC_ARG_ENABLE(hidapi,
|
||||
AC_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=no]]]),
|
||||
AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[default=no]]]),
|
||||
, enable_hidapi=no)
|
||||
if test x$enable_joystick = xyes -a x$enable_hidapi = xyes; then
|
||||
PKG_CHECK_MODULES([LIBUSB], [libusb-1.0])
|
||||
@ -3208,7 +3208,7 @@ dnl Check for clock_gettime()
|
||||
CheckClockGettime()
|
||||
{
|
||||
AC_ARG_ENABLE(clock_gettime,
|
||||
AC_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)
|
||||
if test x$enable_clock_gettime = xyes; then
|
||||
AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=yes)
|
||||
@ -3238,7 +3238,7 @@ dnl Check if we want to use RPATH
|
||||
CheckRPATH()
|
||||
{
|
||||
AC_ARG_ENABLE(rpath,
|
||||
AC_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)
|
||||
}
|
||||
|
||||
@ -3248,14 +3248,14 @@ dnl environment, etc, but most people don't need this.
|
||||
CheckEventSignals()
|
||||
{
|
||||
AC_ARG_ENABLE(backgrounding-signal,
|
||||
AC_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)
|
||||
if test x$enable_backgrounding_signal != xno; then
|
||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -DSDL_BACKGROUNDING_SIGNAL=$enable_backgrounding_signal"
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(foregrounding-signal,
|
||||
AC_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)
|
||||
if test x$enable_foregrounding_signal != xno; then
|
||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -DSDL_FOREGROUNDING_SIGNAL=$enable_foregrounding_signal"
|
||||
@ -3510,7 +3510,7 @@ case "$host" in
|
||||
SOURCES="$SOURCES $srcdir/src/video/windows/*.c"
|
||||
have_video=yes
|
||||
AC_ARG_ENABLE(render-d3d,
|
||||
AC_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)
|
||||
if test x$enable_render_d3d = xyes -a x$have_d3d = xyes; then
|
||||
AC_DEFINE(SDL_VIDEO_RENDER_D3D, 1, [ ])
|
||||
|
Loading…
Reference in New Issue
Block a user