From 8aaff1b0565212b59ce3801152800ffd0f03ef0c Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 3 Mar 2021 11:55:02 +0300
Subject: [PATCH] configure: fix wrong AS_HELP_STRING quoting.
---
configure | 201 +++++++++++++++++++++++++--------------------------
configure.ac | 158 ++++++++++++++++++++--------------------
2 files changed, 177 insertions(+), 182 deletions(-)
diff --git a/configure b/configure
index dad9ce60..062feae9 100755
--- a/configure
+++ b/configure
@@ -1645,104 +1645,99 @@ Optional Features:
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
- --enable-libc Use the system C library [[default=yes]]
- --enable-audio Enable the audio subsystem [[default=yes]]
- --enable-video Enable the video subsystem [[default=yes]]
- --enable-events Enable the events subsystem [[default=yes]]
- --enable-joystick Enable the joystick subsystem [[default=yes]]
- --enable-cdrom Enable the cdrom subsystem [[default=yes]]
- --enable-threads Enable the threading subsystem [[default=yes]]
- --enable-timers Enable the timer subsystem [[default=yes]]
- --enable-file Enable the file subsystem [[default=yes]]
+ --enable-libc Use the system C library [default=yes]
+ --enable-audio Enable the audio subsystem [default=yes]
+ --enable-video Enable the video subsystem [default=yes]
+ --enable-events Enable the events subsystem [default=yes]
+ --enable-joystick Enable the joystick subsystem [default=yes]
+ --enable-cdrom Enable the cdrom subsystem [default=yes]
+ --enable-threads Enable the threading subsystem [default=yes]
+ --enable-timers Enable the timer subsystem [default=yes]
+ --enable-file Enable the file subsystem [default=yes]
--enable-loadso Enable the shared object loading subsystem
- [[default=yes]]
- --enable-cpuinfo Enable the cpuinfo subsystem [[default=yes]]
- --enable-assembly Enable assembly routines [[default=yes]]
- --enable-oss support the OSS audio API [[default=yes]]
- --enable-alsa support the ALSA audio API [[default=yes]]
+ [default=yes]
+ --enable-cpuinfo Enable the cpuinfo subsystem [default=yes]
+ --enable-assembly Enable assembly routines [default=yes]
+ --enable-oss support the OSS 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
- --enable-alsa-shared dynamically load ALSA audio support [[default=yes]]
- --enable-esd support the Enlightened Sound Daemon [[default=yes]]
+ --enable-alsa-shared dynamically load ALSA audio support [default=yes]
+ --enable-esd support the Enlightened Sound Daemon [default=yes]
--disable-esdtest Do not try to compile and run a test ESD program
- --enable-esd-shared dynamically load ESD audio support [[default=yes]]
- --enable-sndio support the sndio audio API [[default=yes]]
- --enable-pulseaudio use PulseAudio [[default=yes]]
+ --enable-esd-shared dynamically load ESD audio support [default=yes]
+ --enable-sndio support the sndio audio API [default=yes]
+ --enable-pulseaudio use PulseAudio [default=yes]
--enable-pulseaudio-shared
- dynamically load PulseAudio support [[default=yes]]
+ dynamically load PulseAudio support [default=yes]
--enable-arts support the Analog Real Time Synthesizer
- [[default=yes]]
- --enable-arts-shared dynamically load aRts audio support [[default=yes]]
- --enable-nas support the NAS audio API [[default=yes]]
- --enable-nas-shared dynamically load NAS audio support [[default=yes]]
- --enable-diskaudio support the disk writer audio driver [[default=yes]]
- --enable-dummyaudio support the dummy audio driver [[default=yes]]
- --enable-mintaudio support Atari audio driver [[default=yes]]
- --enable-nasm use nasm assembly blitters on x86 [[default=yes]]
- --enable-altivec use altivec assembly blitters on PPC [[default=yes]]
- --enable-arm-simd use SIMD assembly blitters on ARM [[default=no]]
- --enable-arm-neon use NEON assembly blitters on ARM [[default=no]]
- --enable-ipod configure SDL to work with iPodLinux [[default=no]]
- --enable-video-nanox use nanox video driver [[default=no]]
- --enable-nanox-debug print debug messages [[default=no]]
+ [default=yes]
+ --enable-arts-shared dynamically load aRts audio support [default=yes]
+ --enable-nas support the NAS audio API [default=yes]
+ --enable-nas-shared dynamically load NAS audio support [default=yes]
+ --enable-diskaudio support the disk writer audio driver [default=yes]
+ --enable-dummyaudio support the dummy audio driver [default=yes]
+ --enable-mintaudio support Atari audio driver [default=yes]
+ --enable-nasm use nasm assembly blitters on x86 [default=yes]
+ --enable-altivec use altivec assembly blitters on PPC [default=yes]
+ --enable-arm-simd use SIMD assembly blitters on ARM [default=no]
+ --enable-arm-neon use NEON assembly blitters on ARM [default=no]
+ --enable-ipod configure SDL to work with iPodLinux [default=no]
+ --enable-video-nanox use nanox video driver [default=no]
+ --enable-nanox-debug print debug messages [default=no]
--enable-nanox-share-memory
- use share memory [[default=no]]
+ use share memory [default=no]
--enable-nanox-direct-fb
- use direct framebuffer access [[default=no]]
- --enable-video-x11 use X11 video driver [[default=yes]]
- --enable-x11-shared dynamically load X11 support [[default=maybe]]
- --enable-dga allow use of X11 DGA code [[default=yes]]
- --enable-video-dga use DGA 2.0 video driver [[default=yes]]
+ use direct framebuffer access [default=no]
+ --enable-video-x11 use X11 video driver [default=yes]
+ --enable-x11-shared dynamically load X11 support [default=maybe]
+ --enable-dga allow use of X11 DGA code [default=yes]
+ --enable-video-dga use DGA 2.0 video driver [default=yes]
--enable-video-x11-dgamouse
- use X11 DGA for mouse events [[default=yes]]
- --enable-video-x11-vm use X11 VM extension for fullscreen [[default=yes]]
- --enable-video-x11-xv use X11 XvImage extension for video [[default=yes]]
+ use X11 DGA for mouse events [default=yes]
+ --enable-video-x11-vm use X11 VM extension for fullscreen [default=yes]
+ --enable-video-x11-xv use X11 XvImage extension for video [default=yes]
--enable-video-x11-xinerama
- enable X11 Xinerama support [[default=yes]]
- --enable-video-x11-xme enable Xi Graphics XME for fullscreen
- [[default=yes]]
+ enable X11 Xinerama support [default=yes]
+ --enable-video-x11-xme enable Xi Graphics XME for fullscreen [default=yes]
--enable-video-x11-xrandr
enable X11 Xrandr extension for fullscreen
- [[default=yes]]
- --enable-video-photon use QNX Photon video driver [[default=yes]]
- --enable-video-carbon use Carbon/QuickDraw video driver [[default=no]]
- --enable-video-cocoa use Cocoa/Quartz video driver [[default=yes]]
- --enable-video-fbcon use framebuffer console video driver [[default=yes]]
- --enable-video-directfb use DirectFB video driver [[default=yes]]
- --enable-video-ps2gs use PlayStation 2 GS video driver [[default=yes]]
- --enable-video-ps3 use PlayStation 3 Cell driver [[default=yes]]
- --enable-video-ggi use GGI video driver [[default=no]]
- --enable-video-svga use SVGAlib video driver [[default=yes]]
- --enable-video-vgl use VGL video driver [[default=yes]]
- --enable-video-wscons use wscons video driver [[default=yes]]
- --enable-video-aalib use AAlib video driver [[default=no]]
- --enable-video-caca use libcaca video driver [[default=no]]
- --enable-video-qtopia use Qtopia video driver [[default=no]]
- --enable-video-picogui use PicoGUI video driver [[default=no]]
- --enable-video-xbios use Atari Xbios video driver [[default=yes]]
- --enable-video-gem use Atari Gem video driver [[default=yes]]
- --enable-video-dummy use dummy video driver [[default=yes]]
- --enable-video-opengl include OpenGL context creation [[default=yes]]
- --enable-osmesa-shared dynamically load OSMesa OpenGL support
- [[default=yes]]
+ [default=yes]
+ --enable-video-photon use QNX Photon video driver [default=yes]
+ --enable-video-carbon use Carbon/QuickDraw video driver [default=no]
+ --enable-video-cocoa use Cocoa/Quartz video driver [default=yes]
+ --enable-video-fbcon use framebuffer console video driver [default=yes]
+ --enable-video-directfb use DirectFB video driver [default=yes]
+ --enable-video-ps2gs use PlayStation 2 GS video driver [default=yes]
+ --enable-video-ps3 use PlayStation 3 Cell driver [default=yes]
+ --enable-video-ggi use GGI video driver [default=no]
+ --enable-video-svga use SVGAlib video driver [default=yes]
+ --enable-video-vgl use VGL video driver [default=yes]
+ --enable-video-wscons use wscons video driver [default=yes]
+ --enable-video-aalib use AAlib video driver [default=no]
+ --enable-video-caca use libcaca video driver [default=no]
+ --enable-video-qtopia use Qtopia video driver [default=no]
+ --enable-video-picogui use PicoGUI video driver [default=no]
+ --enable-video-xbios use Atari Xbios video driver [default=yes]
+ --enable-video-gem use Atari Gem video driver [default=yes]
+ --enable-video-dummy use dummy video driver [default=yes]
+ --enable-video-opengl include OpenGL context creation [default=yes]
+ --enable-osmesa-shared dynamically load OSMesa OpenGL support [default=yes]
--enable-screensaver enable screensaver by default while any SDL
- application is running [[default=no]]
- --enable-input-events use Linux 2.4 unified input interface
- [[default=yes]]
- --enable-input-tslib use the Touchscreen library for input
- [[default=yes]]
+ application is running [default=no]
+ --enable-input-events use Linux 2.4 unified input interface [default=yes]
+ --enable-input-tslib use the Touchscreen library for input [default=yes]
--enable-pth use GNU pth library for multi-threading
- [[default=yes]]
- --enable-pthreads use POSIX threads for multi-threading
- [[default=yes]]
- --enable-pthread-sem use pthread semaphores [[default=yes]]
- --enable-stdio-redirect Redirect STDIO to files on Win32 [[default=yes]]
- --enable-directx use DirectX for Win32 audio/video [[default=yes]]
- --enable-sdl-dlopen use dlopen for shared object loading [[default=yes]]
+ [default=yes]
+ --enable-pthreads use POSIX threads for multi-threading [default=yes]
+ --enable-pthread-sem use pthread semaphores [default=yes]
+ --enable-stdio-redirect Redirect STDIO to files on Win32 [default=yes]
+ --enable-directx use DirectX for Win32 audio/video [default=yes]
+ --enable-sdl-dlopen use dlopen for shared object loading [default=yes]
--enable-atari-ldg use Atari LDG for shared object loading
- [[default=yes]]
+ [default=yes]
--enable-clock_gettime use clock_gettime() instead of gettimeofday() on
- UNIX [[default=no]]
- --enable-rpath use an rpath when linking SDL [[default=yes]]
+ UNIX [default=no]
+ --enable-rpath use an rpath when linking SDL [default=yes]
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -4833,13 +4828,13 @@ if ${lt_cv_nm_interface+:} false; then :
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:4836: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:4831: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:4839: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:4834: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:4842: output\"" >&5)
+ (eval echo "\"\$as_me:4837: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -6049,7 +6044,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 6052 "configure"' > conftest.$ac_ext
+ echo '#line 6047 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -7612,11 +7607,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7615: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7610: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7619: \$? = $ac_status" >&5
+ echo "$as_me:7614: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -7951,11 +7946,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7954: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7949: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7958: \$? = $ac_status" >&5
+ echo "$as_me:7953: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -8056,11 +8051,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8059: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8054: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8063: \$? = $ac_status" >&5
+ echo "$as_me:8058: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -8111,11 +8106,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8114: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8109: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8118: \$? = $ac_status" >&5
+ echo "$as_me:8113: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -10481,7 +10476,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10484 "configure"
+#line 10479 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10577,7 +10572,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10580 "configure"
+#line 10575 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -13992,11 +13987,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13995: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13990: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:13999: \$? = $ac_status" >&5
+ echo "$as_me:13994: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -14091,11 +14086,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14094: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14089: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14098: \$? = $ac_status" >&5
+ echo "$as_me:14093: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -14143,11 +14138,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14146: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14141: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14150: \$? = $ac_status" >&5
+ echo "$as_me:14145: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
diff --git a/configure.ac b/configure.ac
index a167439c..983e6c1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,7 +131,7 @@ AC_C_VOLATILE
dnl See whether we are allowed to use the system C library
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)
if test x$enable_libc = xyes; then
AC_DEFINE(HAVE_LIBC)
@@ -242,25 +242,25 @@ SOURCES="$SOURCES $srcdir/src/video/*.c"
dnl Enable/disable various subsystems of the SDL library
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)
if test x$enable_audio != xyes; then
AC_DEFINE(SDL_AUDIO_DISABLED)
fi
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)
if test x$enable_video != xyes; then
AC_DEFINE(SDL_VIDEO_DISABLED)
fi
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)
if test x$enable_events != xyes; then
AC_DEFINE(SDL_EVENTS_DISABLED)
fi
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)
if test x$enable_joystick != xyes; then
AC_DEFINE(SDL_JOYSTICK_DISABLED)
@@ -268,43 +268,43 @@ else
SOURCES="$SOURCES $srcdir/src/joystick/*.c"
fi
AC_ARG_ENABLE(cdrom,
-AS_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]),
+[AS_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [default=yes]])],
, enable_cdrom=yes)
if test x$enable_cdrom != xyes; then
AC_DEFINE(SDL_CDROM_DISABLED)
fi
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)
if test x$enable_threads != xyes; then
AC_DEFINE(SDL_THREADS_DISABLED)
fi
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)
if test x$enable_timers != xyes; then
AC_DEFINE(SDL_TIMERS_DISABLED)
fi
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)
if test x$enable_file != xyes; then
AC_DEFINE(SDL_FILE_DISABLED)
fi
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)
if test x$enable_loadso != xyes; then
AC_DEFINE(SDL_LOADSO_DISABLED)
fi
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)
if test x$enable_cpuinfo != xyes; then
AC_DEFINE(SDL_CPUINFO_DISABLED)
fi
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)
if test x$enable_assembly = xyes; then
AC_DEFINE(SDL_ASSEMBLY_ROUTINES)
@@ -314,7 +314,7 @@ dnl See if the OSS audio interface is supported
CheckOSS()
{
AC_ARG_ENABLE(oss,
-AS_HELP_STRING([--enable-oss], [support the OSS audio API [[default=yes]]]),
+[AS_HELP_STRING([--enable-oss], [support the OSS audio API [default=yes]])],
, enable_oss=yes)
if test x$enable_audio = xyes -a x$enable_oss = xyes; then
AC_MSG_CHECKING(for OSS audio support)
@@ -358,7 +358,7 @@ dnl See if the ALSA audio interface is supported
CheckALSA()
{
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)
if test x$enable_audio = xyes -a x$enable_alsa = xyes; then
AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no)
@@ -368,7 +368,7 @@ AS_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,
-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)
alsa_lib=[`find_lib "libasound.so.*" "$ALSA_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
@@ -457,13 +457,13 @@ dnl Find the ESD includes and libraries
CheckESD()
{
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)
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,
-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)
esd_lib=[`find_lib "libesd.so.*" "$ESD_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
@@ -490,7 +490,7 @@ dnl Find Sndio
CheckSndio()
{
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_sndioaudio=yes)
if test x$enable_audio = xyes -a x$enable_sndioaudio = xyes; then
AC_CHECK_HEADER(sndio.h, have_sndio_hdr=yes)
@@ -519,14 +519,14 @@ dnl Find PulseAudio
CheckPulseAudio()
{
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)
if test x$enable_audio = xyes -a x$enable_pulseaudio = xyes; then
PKG_CHECK_MODULES([PULSE], [libpulse-simple >= 0.9], audio_pulse=yes, audio_pulse=no)
if test x$audio_pulse = xyes; then
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)
pulse_lib=[`find_lib "libpulse-simple.so.*" "$PULSE_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
@@ -560,7 +560,7 @@ AS_HELP_STRING([--enable-pulseaudio-shared], [dynamically load PulseAudio suppor
CheckARTSC()
{
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)
if test x$enable_audio = xyes -a x$enable_arts = xyes; then
AC_PATH_PROG(ARTSCONFIG, artsc-config)
@@ -584,7 +584,7 @@ AS_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,
-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)
arts_lib=[`find_lib "libartsc.so.*" "$ARTS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
@@ -612,7 +612,7 @@ dnl See if the NAS audio interface is supported
CheckNAS()
{
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)
if test x$enable_audio = xyes -a x$enable_nas = xyes; then
AC_CHECK_HEADER(audio/audiolib.h, have_nas_hdr=yes)
@@ -642,7 +642,7 @@ AS_HELP_STRING([--enable-nas], [support the NAS audio API [[default=yes]]]),
if test x$have_nas = xyes; then
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)
nas_lib=[`find_lib "libaudio.so.*" "$NAS_LIBS" | sed 's/.*\/\(.*\)/\1/; q'`]
@@ -670,7 +670,7 @@ dnl rcg07142001 See if the user wants the disk writer audio driver...
CheckDiskAudio()
{
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)
if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then
AC_DEFINE(SDL_AUDIO_DRIVER_DISK)
@@ -682,7 +682,7 @@ dnl rcg03142006 See if the user wants the dummy audio driver...
CheckDummyAudio()
{
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)
if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then
AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY)
@@ -694,7 +694,7 @@ dnl Set up the Atari Audio driver
CheckAtariAudio()
{
AC_ARG_ENABLE(mintaudio,
-AS_HELP_STRING([--enable-mintaudio], [support Atari audio driver [[default=yes]]]),
+[AS_HELP_STRING([--enable-mintaudio], [support Atari audio driver [default=yes]])],
, enable_mintaudio=yes)
if test x$enable_audio = xyes -a x$enable_mintaudio = xyes; then
mintaudio=no
@@ -732,7 +732,7 @@ CheckNASM()
dnl Check for NASM (for assembly blit routines)
AC_ARG_ENABLE(nasm,
-AS_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [[default=yes]]]),
+[AS_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [default=yes]])],
, enable_nasm=yes)
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_nasm = xyes; then
CompileNASM()
@@ -797,7 +797,7 @@ dnl Check for altivec instruction support using gas syntax
CheckAltivec()
{
AC_ARG_ENABLE(altivec,
-AS_HELP_STRING([--enable-altivec], [use altivec assembly blitters on PPC [[default=yes]]]),
+[AS_HELP_STRING([--enable-altivec], [use altivec assembly blitters on PPC [default=yes]])],
, enable_altivec=yes)
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_altivec = xyes; then
save_CFLAGS="$CFLAGS"
@@ -847,7 +847,7 @@ dnl Check for altivec instruction support - APPLE extensions
CheckAltivecApple()
{
AC_ARG_ENABLE(altivec,
-AS_HELP_STRING([--enable-altivec], [use altivec assembly blitters on PPC [[default=yes]]]),
+[AS_HELP_STRING([--enable-altivec], [use altivec assembly blitters on PPC [default=yes]])],
, enable_altivec=yes)
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_altivec = xyes; then
save_CFLAGS="$CFLAGS"
@@ -884,7 +884,7 @@ dnl Check for ARM instruction support using gas syntax
CheckARM()
{
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)
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_arm_simd = xyes; then
save_CFLAGS="$CFLAGS"
@@ -919,7 +919,7 @@ dnl Check for ARM NEON instruction support using gas syntax
CheckNEON()
{
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)
if test x$enable_video = x
(Patch may be truncated, please check the link at the top of this post.)