Commit ca1aba09 authored by Sam Lantinga's avatar Sam Lantinga

Date: Fri, 31 Mar 2006 18:28:55 -0500

From: Mike Frysinger
Subject: [SDL] [patch] touchup configure --help output

the current output includes a lot of "default=yes" stuff in it ... except that
it lacks the [] around it

patch attached to fix the situation

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401644
parent 1920fbcb
...@@ -98,7 +98,7 @@ AC_C_VOLATILE ...@@ -98,7 +98,7 @@ AC_C_VOLATILE
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,
AC_HELP_STRING([--enable-libc], [Use the system C library [default=yes]]), AC_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) AC_DEFINE(HAVE_LIBC)
...@@ -191,67 +191,67 @@ SOURCES="$SOURCES $srcdir/src/video/*.c" ...@@ -191,67 +191,67 @@ SOURCES="$SOURCES $srcdir/src/video/*.c"
dnl Enable/disable various subsystems of the SDL library dnl Enable/disable various subsystems of the SDL library
AC_ARG_ENABLE(audio, AC_ARG_ENABLE(audio,
AC_HELP_STRING([--enable-audio], [Enable the audio subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_AUDIO_DISABLED)
fi fi
AC_ARG_ENABLE(video, AC_ARG_ENABLE(video,
AC_HELP_STRING([--enable-video], [Enable the video subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_VIDEO_DISABLED)
fi fi
AC_ARG_ENABLE(events, AC_ARG_ENABLE(events,
AC_HELP_STRING([--enable-events], [Enable the events subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_EVENTS_DISABLED)
fi fi
AC_ARG_ENABLE(joystick, AC_ARG_ENABLE(joystick,
AC_HELP_STRING([--enable-joystick], [Enable the joystick subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_JOYSTICK_DISABLED)
fi fi
AC_ARG_ENABLE(cdrom, AC_ARG_ENABLE(cdrom,
AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [default=yes]]), AC_HELP_STRING([--enable-cdrom], [Enable the cdrom subsystem [[default=yes]]]),
, enable_cdrom=yes) , enable_cdrom=yes)
if test x$enable_cdrom != xyes; then if test x$enable_cdrom != xyes; then
AC_DEFINE(SDL_CDROM_DISABLED) AC_DEFINE(SDL_CDROM_DISABLED)
fi fi
AC_ARG_ENABLE(threads, AC_ARG_ENABLE(threads,
AC_HELP_STRING([--enable-threads], [Enable the threading subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_THREADS_DISABLED)
fi fi
AC_ARG_ENABLE(timers, AC_ARG_ENABLE(timers,
AC_HELP_STRING([--enable-timers], [Enable the timer subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_TIMERS_DISABLED)
fi fi
AC_ARG_ENABLE(file, AC_ARG_ENABLE(file,
AC_HELP_STRING([--enable-file], [Enable the file subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_FILE_DISABLED)
fi fi
AC_ARG_ENABLE(loadso, AC_ARG_ENABLE(loadso,
AC_HELP_STRING([--enable-loadso], [Enable the shared object loading subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_LOADSO_DISABLED)
fi fi
AC_ARG_ENABLE(cpuinfo, AC_ARG_ENABLE(cpuinfo,
AC_HELP_STRING([--enable-cpuinfo], [Enable the cpuinfo subsystem [default=yes]]), AC_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) AC_DEFINE(SDL_CPUINFO_DISABLED)
fi fi
AC_ARG_ENABLE(assembly, AC_ARG_ENABLE(assembly,
AC_HELP_STRING([--enable-assembly], [Enable assembly routines [default=yes]]), AC_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
AC_DEFINE(SDL_ASSEMBLY_ROUTINES) AC_DEFINE(SDL_ASSEMBLY_ROUTINES)
...@@ -261,7 +261,7 @@ dnl See if the OSS audio interface is supported ...@@ -261,7 +261,7 @@ dnl See if the OSS audio interface is supported
CheckOSS() CheckOSS()
{ {
AC_ARG_ENABLE(oss, AC_ARG_ENABLE(oss,
AC_HELP_STRING([--enable-oss], [support the OSS audio API [default=yes]]), AC_HELP_STRING([--enable-oss], [support the OSS audio API [[default=yes]]]),
, enable_oss=yes) , enable_oss=yes)
if test x$enable_audio = xyes -a x$enable_oss = xyes; then if test x$enable_audio = xyes -a x$enable_oss = xyes; then
AC_MSG_CHECKING(for OSS audio support) AC_MSG_CHECKING(for OSS audio support)
...@@ -305,7 +305,7 @@ dnl See if the ALSA audio interface is supported ...@@ -305,7 +305,7 @@ dnl See if the ALSA audio interface is supported
CheckALSA() CheckALSA()
{ {
AC_ARG_ENABLE(alsa, AC_ARG_ENABLE(alsa,
AC_HELP_STRING([--enable-alsa], [support the ALSA audio API [default=yes]]), AC_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(0.9.0, have_alsa=yes, have_alsa=no) AM_PATH_ALSA(0.9.0, have_alsa=yes, have_alsa=no)
...@@ -315,7 +315,7 @@ AC_HELP_STRING([--enable-alsa], [support the ALSA audio API [default=yes]]), ...@@ -315,7 +315,7 @@ AC_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,
AC_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [default=yes]]), AC_HELP_STRING([--enable-alsa-shared], [dynamically load ALSA audio support [[default=yes]]]),
, enable_alsa_shared=yes) , enable_alsa_shared=yes)
if test "x`echo $ALSA_LIBS | grep -- -L`" = "x"; then if test "x`echo $ALSA_LIBS | grep -- -L`" = "x"; then
if test "x`ls /lib/libasound.so.* 2> /dev/null`" != "x"; then if test "x`ls /lib/libasound.so.* 2> /dev/null`" != "x"; then
...@@ -414,13 +414,13 @@ dnl Find the ESD includes and libraries ...@@ -414,13 +414,13 @@ dnl Find the ESD includes and libraries
CheckESD() CheckESD()
{ {
AC_ARG_ENABLE(esd, AC_ARG_ENABLE(esd,
AC_HELP_STRING([--enable-esd], [support the Enlightened Sound Daemon [default=yes]]), AC_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,
AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [default=yes]]), AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [[default=yes]]]),
, enable_esd_shared=yes) , enable_esd_shared=yes)
esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'` esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'`
esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` esd_lib=`ls -- $esd_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
...@@ -447,7 +447,7 @@ AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [defau ...@@ -447,7 +447,7 @@ AC_HELP_STRING([--enable-esd-shared], [dynamically load ESD audio support [defau
CheckARTSC() CheckARTSC()
{ {
AC_ARG_ENABLE(arts, AC_ARG_ENABLE(arts,
AC_HELP_STRING([--enable-arts], [support the Analog Real Time Synthesizer [default=yes]]), AC_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)
...@@ -472,7 +472,7 @@ AC_HELP_STRING([--enable-arts], [support the Analog Real Time Synthesizer [defau ...@@ -472,7 +472,7 @@ AC_HELP_STRING([--enable-arts], [support the Analog Real Time Synthesizer [defau
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,
AC_HELP_STRING([--enable-arts-shared], [dynamically load aRts audio support [default=yes]]), AC_HELP_STRING([--enable-arts-shared], [dynamically load aRts audio support [[default=yes]]]),
, enable_arts_shared=yes) , enable_arts_shared=yes)
arts_lib_spec="$ARTS_PREFIX/lib/libartsc.so.*" arts_lib_spec="$ARTS_PREFIX/lib/libartsc.so.*"
arts_lib=`ls -- $arts_lib_spec | sed 's/.*\/\(.*\)/\1/; q'` arts_lib=`ls -- $arts_lib_spec | sed 's/.*\/\(.*\)/\1/; q'`
...@@ -501,7 +501,7 @@ dnl See if the NAS audio interface is supported ...@@ -501,7 +501,7 @@ dnl See if the NAS audio interface is supported
CheckNAS() CheckNAS()
{ {
AC_ARG_ENABLE(nas, AC_ARG_ENABLE(nas,
AC_HELP_STRING([--enable-nas], [support the NAS audio API [default=yes]]), AC_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_MSG_CHECKING(for NAS audio support) AC_MSG_CHECKING(for NAS audio support)
...@@ -533,7 +533,7 @@ dnl rcg07142001 See if the user wants the disk writer audio driver... ...@@ -533,7 +533,7 @@ dnl rcg07142001 See if the user wants the disk writer audio driver...
CheckDiskAudio() CheckDiskAudio()
{ {
AC_ARG_ENABLE(diskaudio, AC_ARG_ENABLE(diskaudio,
AC_HELP_STRING([--enable-diskaudio], [support the disk writer audio driver [default=yes]]), AC_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) AC_DEFINE(SDL_AUDIO_DRIVER_DISK)
...@@ -545,7 +545,7 @@ dnl rcg03142006 See if the user wants the dummy audio driver... ...@@ -545,7 +545,7 @@ dnl rcg03142006 See if the user wants the dummy audio driver...
CheckDummyAudio() CheckDummyAudio()
{ {
AC_ARG_ENABLE(dummyaudio, AC_ARG_ENABLE(dummyaudio,
AC_HELP_STRING([--enable-dummyaudio], [support the dummy audio driver [default=yes]]), AC_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) AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY)
...@@ -557,7 +557,7 @@ dnl Set up the Atari Audio driver ...@@ -557,7 +557,7 @@ dnl Set up the Atari Audio driver
CheckAtariAudio() CheckAtariAudio()
{ {
AC_ARG_ENABLE(mintaudio, AC_ARG_ENABLE(mintaudio,
AC_HELP_STRING([--enable-mintaudio], [support Atari audio driver [default=yes]]), AC_HELP_STRING([--enable-mintaudio], [support Atari audio driver [[default=yes]]]),
, enable_mintaudio=yes) , enable_mintaudio=yes)
if test x$enable_audio = xyes -a x$enable_mintaudio = xyes; then if test x$enable_audio = xyes -a x$enable_mintaudio = xyes; then
mintaudio=no mintaudio=no
...@@ -587,7 +587,7 @@ CheckNASM() ...@@ -587,7 +587,7 @@ CheckNASM()
esac esac
dnl Check for NASM (for assembly blit routines) dnl Check for NASM (for assembly blit routines)
AC_ARG_ENABLE(nasm, AC_ARG_ENABLE(nasm,
AC_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [default=yes]]), AC_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [[default=yes]]]),
, enable_nasm=yes) , enable_nasm=yes)
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_nasm = xyes; then if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_nasm = xyes; then
AC_PATH_PROG(NASM, nasm) AC_PATH_PROG(NASM, nasm)
...@@ -625,7 +625,7 @@ dnl Check for altivec instruction support using gas syntax ...@@ -625,7 +625,7 @@ dnl Check for altivec instruction support using gas syntax
CheckAltivec() CheckAltivec()
{ {
AC_ARG_ENABLE(altivec, AC_ARG_ENABLE(altivec,
AC_HELP_STRING([--enable-altivec], [use altivec assembly blitters on PPC [default=yes]]), AC_HELP_STRING([--enable-altivec], [use altivec assembly blitters on PPC [[default=yes]]]),
, enable_altivec=yes) , enable_altivec=yes)
if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_altivec = xyes; then if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_altivec = xyes; then
have_altivec_h_hdr=no have_altivec_h_hdr=no
...@@ -742,26 +742,26 @@ dnl Find the nanox include and library directories ...@@ -742,26 +742,26 @@ dnl Find the nanox include and library directories
CheckNANOX() CheckNANOX()
{ {
AC_ARG_ENABLE(video-nanox, AC_ARG_ENABLE(video-nanox,
AC_HELP_STRING([--enable-video-nanox], [use nanox video driver [default=no]]), AC_HELP_STRING([--enable-video-nanox], [use nanox video driver [[default=no]]]),
, enable_video_nanox=no) , enable_video_nanox=no)
if test x$enable_video = xyes -a x$enable_video_nanox = xyes; then if test x$enable_video = xyes -a x$enable_video_nanox = xyes; then
AC_ARG_ENABLE(nanox-debug, AC_ARG_ENABLE(nanox-debug,
AC_HELP_STRING([--enable-nanox-debug], [print debug messages [default=no]]), AC_HELP_STRING([--enable-nanox-debug], [print debug messages [[default=no]]]),
, enable_nanox_debug=no) , enable_nanox_debug=no)
if test x$enable_nanox_debug = xyes; then if test x$enable_nanox_debug = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DEBUG" EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DEBUG"
fi fi
AC_ARG_ENABLE(nanox-share-memory, AC_ARG_ENABLE(nanox-share-memory,
AC_HELP_STRING([--enable-nanox-share-memory], [use share memory [default=no]]), AC_HELP_STRING([--enable-nanox-share-memory], [use share memory [[default=no]]]),
, enable_nanox_share_memory=no) , enable_nanox_share_memory=no)
if test x$enable_nanox_share_memory = xyes; then if test x$enable_nanox_share_memory = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -DNANOX_SHARE_MEMORY" EXTRA_CFLAGS="$EXTRA_CFLAGS -DNANOX_SHARE_MEMORY"
fi fi
AC_ARG_ENABLE(nanox_direct_fb, AC_ARG_ENABLE(nanox_direct_fb,
AC_HELP_STRING([--enable-nanox-direct-fb], [use direct framebuffer access [default=no]]), AC_HELP_STRING([--enable-nanox-direct-fb], [use direct framebuffer access [[default=no]]]),
, enable_nanox_direct_fb=no) , enable_nanox_direct_fb=no)
if test x$enable_nanox_direct_fb = xyes; then if test x$enable_nanox_direct_fb = xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DIRECT_FB" EXTRA_CFLAGS="$EXTRA_CFLAGS -DENABLE_NANOX_DIRECT_FB"
...@@ -778,14 +778,14 @@ dnl Find the X11 include and library directories ...@@ -778,14 +778,14 @@ dnl Find the X11 include and library directories
CheckX11() CheckX11()
{ {
AC_ARG_ENABLE(video-x11, AC_ARG_ENABLE(video-x11,
AC_HELP_STRING([--enable-video-x11], [use X11 video driver [default=yes]]), AC_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
AC_PATH_X AC_PATH_X
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,
AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [default=yes]]), AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [[default=yes]]]),
, enable_x11_shared=yes) , enable_x11_shared=yes)
case "$host" in case "$host" in
...@@ -847,54 +847,54 @@ AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [default=yes ...@@ -847,54 +847,54 @@ AC_HELP_STRING([--enable-x11-shared], [dynamically load X11 support [default=yes
have_video=yes have_video=yes
AC_ARG_ENABLE(dga, AC_ARG_ENABLE(dga,
AC_HELP_STRING([--enable-dga], [allow use of X11 DGA code [default=yes]]), AC_HELP_STRING([--enable-dga], [allow use of X11 DGA code [[default=yes]]]),
, enable_dga=yes) , enable_dga=yes)
if test x$enable_dga = xyes; then if test x$enable_dga = xyes; then
SOURCES="$SOURCES $srcdir/src/video/Xext/Xxf86dga/*.c" SOURCES="$SOURCES $srcdir/src/video/Xext/Xxf86dga/*.c"
fi fi
AC_ARG_ENABLE(video-dga, AC_ARG_ENABLE(video-dga,
AC_HELP_STRING([--enable-video-dga], [use DGA 2.0 video driver [default=yes]]), AC_HELP_STRING([--enable-video-dga], [use DGA 2.0 video driver [[default=yes]]]),
, enable_video_dga=yes) , enable_video_dga=yes)
if test x$enable_dga = xyes -a x$enable_video_dga = xyes; then if test x$enable_dga = xyes -a x$enable_video_dga = xyes; then
AC_DEFINE(SDL_VIDEO_DRIVER_DGA) AC_DEFINE(SDL_VIDEO_DRIVER_DGA)
SOURCES="$SOURCES $srcdir/src/video/dga/*.c" SOURCES="$SOURCES $srcdir/src/video/dga/*.c"
fi fi
AC_ARG_ENABLE(video-x11-dgamouse, AC_ARG_ENABLE(video-x11-dgamouse,
AC_HELP_STRING([--enable-video-x11-dgamouse], [use X11 DGA for mouse events [default=yes]]), AC_HELP_STRING([--enable-video-x11-dgamouse], [use X11 DGA for mouse events [[default=yes]]]),
, enable_video_x11_dgamouse=yes) , enable_video_x11_dgamouse=yes)
if test x$enable_dga = xyes -a x$enable_video_x11_dgamouse = xyes; then if test x$enable_dga = xyes -a x$enable_video_x11_dgamouse = xyes; then
AC_DEFINE(SDL_VIDEO_DRIVER_X11_DGAMOUSE) AC_DEFINE(SDL_VIDEO_DRIVER_X11_DGAMOUSE)
fi fi
AC_ARG_ENABLE(video-x11-vm, AC_ARG_ENABLE(video-x11-vm,
AC_HELP_STRING([--enable-video-x11-vm], [use X11 VM extension for fullscreen [default=yes]]), AC_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
AC_DEFINE(SDL_VIDEO_DRIVER_X11_VIDMODE) AC_DEFINE(SDL_VIDEO_DRIVER_X11_VIDMODE)
SOURCES="$SOURCES $srcdir/src/video/Xext/Xxf86vm/*.c" SOURCES="$SOURCES $srcdir/src/video/Xext/Xxf86vm/*.c"
fi fi
AC_ARG_ENABLE(video-x11-xv, AC_ARG_ENABLE(video-x11-xv,
AC_HELP_STRING([--enable-video-x11-xv], [use X11 XvImage extension for video [default=yes]]), AC_HELP_STRING([--enable-video-x11-xv], [use X11 XvImage extension for video [[default=yes]]]),
, enable_video_x11_xv=yes) , enable_video_x11_xv=yes)
if test x$enable_video_x11_xv = xyes; then if test x$enable_video_x11_xv = xyes; then
AC_DEFINE(SDL_VIDEO_DRIVER_X11_XV) AC_DEFINE(SDL_VIDEO_DRIVER_X11_XV)
SOURCES="$SOURCES $srcdir/src/video/Xext/Xv/*.c" SOURCES="$SOURCES $srcdir/src/video/Xext/Xv/*.c"
fi fi
AC_ARG_ENABLE(video-x11-xinerama, AC_ARG_ENABLE(video-x11-xinerama,
AC_HELP_STRING([--enable-video-x11-xinerama], [enable X11 Xinerama support [default=yes]]), AC_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
AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA) AC_DEFINE(SDL_VIDEO_DRIVER_X11_XINERAMA)
SOURCES="$SOURCES $srcdir/src/video/Xext/Xinerama/*.c" SOURCES="$SOURCES $srcdir/src/video/Xext/Xinerama/*.c"
fi fi
AC_ARG_ENABLE(video-x11-xme, AC_ARG_ENABLE(video-x11-xme,
AC_HELP_STRING([--enable-video-x11-xme], [enable Xi Graphics XME for fullscreen [default=yes]]), AC_HELP_STRING([--enable-video-x11-xme], [enable Xi Graphics XME for fullscreen [[default=yes]]]),
, enable_video_x11_xme=yes) , enable_video_x11_xme=yes)
if test x$enable_video_x11_xme = xyes; then if test x$enable_video_x11_xme = xyes; then
AC_DEFINE(SDL_VIDEO_DRIVER_X11_XME) AC_DEFINE(SDL_VIDEO_DRIVER_X11_XME)
SOURCES="$SOURCES $srcdir/src/video/Xext/XME/*.c" SOURCES="$SOURCES $srcdir/src/video/Xext/XME/*.c"
fi fi
AC_ARG_ENABLE(video-x11-xrandr, AC_ARG_ENABLE(video-x11-xrandr,
AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for fullscreen [default=yes]]), AC_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
definitely_enable_video_x11_xrandr=no definitely_enable_video_x11_xrandr=no
...@@ -932,7 +932,7 @@ dnl Check for QNX photon video driver ...@@ -932,7 +932,7 @@ dnl Check for QNX photon video driver
CheckPHOTON() CheckPHOTON()
{ {
AC_ARG_ENABLE(video-photon, AC_ARG_ENABLE(video-photon,
AC_HELP_STRING([--enable-video-photon], [use QNX Photon video driver [default=yes]]), AC_HELP_STRING([--enable-video-photon], [use QNX Photon video driver [[default=yes]]]),
, enable_video_photon=yes) , enable_video_photon=yes)
if test x$enable_video = xyes -a x$enable_video_photon = xyes; then if test x$enable_video = xyes -a x$enable_video_photon = xyes; then
AC_MSG_CHECKING(for QNX Photon support) AC_MSG_CHECKING(for QNX Photon support)
...@@ -973,7 +973,7 @@ dnl Set up the Carbon/QuickDraw video driver for Mac OS X (but not Darwin) ...@@ -973,7 +973,7 @@ dnl Set up the Carbon/QuickDraw video driver for Mac OS X (but not Darwin)
CheckCARBON() CheckCARBON()
{ {
AC_ARG_ENABLE(video-carbon, AC_ARG_ENABLE(video-carbon,
AC_HELP_STRING([--enable-video-carbon], [use Carbon/QuickDraw video driver [default=no]]), AC_HELP_STRING([--enable-video-carbon], [use Carbon/QuickDraw video driver [[default=no]]]),
, enable_video_carbon=no) , enable_video_carbon=no)
if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then if test x$enable_video = xyes -a x$enable_video_carbon = xyes; then
AC_MSG_CHECKING(for Carbon framework) AC_MSG_CHECKING(for Carbon framework)
...@@ -998,7 +998,7 @@ dnl Set up the Cocoa/Quartz video driver for Mac OS X (but not Darwin) ...@@ -998,7 +998,7 @@ dnl Set up the Cocoa/Quartz video driver for Mac OS X (but not Darwin)
CheckCOCOA() CheckCOCOA()
{ {
AC_ARG_ENABLE(video-cocoa, AC_ARG_ENABLE(video-cocoa,
AC_HELP_STRING([--enable-video-cocoa], [use Cocoa/Quartz video driver [default=yes]]), AC_HELP_STRING([--enable-video-cocoa], [use Cocoa/Quartz 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"
...@@ -1026,7 +1026,7 @@ dnl Find the framebuffer console includes ...@@ -1026,7 +1026,7 @@ dnl Find the framebuffer console includes
CheckFBCON() CheckFBCON()
{ {
AC_ARG_ENABLE(video-fbcon, AC_ARG_ENABLE(video-fbcon,
AC_HELP_STRING([--enable-video-fbcon], [use framebuffer console video driver [default=yes]]), AC_HELP_STRING([--enable-video-fbcon], [use framebuffer console video driver [[default=yes]]]),
, enable_video_fbcon=yes) , enable_video_fbcon=yes)
if test x$enable_video = xyes -a x$enable_video_fbcon = xyes; then if test x$enable_video = xyes -a x$enable_video_fbcon = xyes; then
AC_MSG_CHECKING(for framebuffer console support) AC_MSG_CHECKING(for framebuffer console support)
...@@ -1052,7 +1052,7 @@ dnl Find DirectFB ...@@ -1052,7 +1052,7 @@ dnl Find DirectFB
CheckDirectFB() CheckDirectFB()
{ {
AC_ARG_ENABLE(video-directfb, AC_ARG_ENABLE(video-directfb,
AC_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [default=yes]]), AC_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [[default=yes]]]),
, enable_video_directfb=yes) , enable_video_directfb=yes)
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
video_directfb=no video_directfb=no
...@@ -1099,7 +1099,7 @@ dnl See if we're running on PlayStation 2 hardware ...@@ -1099,7 +1099,7 @@ dnl See if we're running on PlayStation 2 hardware
CheckPS2GS() CheckPS2GS()
{ {
AC_ARG_ENABLE(video-ps2gs, AC_ARG_ENABLE(video-ps2gs,
AC_HELP_STRING([--enable-video-ps2gs], [use PlayStation 2 GS video driver [default=yes]]), AC_HELP_STRING([--enable-video-ps2gs], [use PlayStation 2 GS video driver [[default=yes]]]),
, enable_video_ps2gs=yes) , enable_video_ps2gs=yes)
if test x$enable_video = xyes -a x$enable_video_ps2gs = xyes; then if test x$enable_video = xyes -a x$enable_video_ps2gs = xyes; then
AC_MSG_CHECKING(for PlayStation 2 GS support) AC_MSG_CHECKING(for PlayStation 2 GS support)
...@@ -1124,7 +1124,7 @@ dnl Find the GGI includes ...@@ -1124,7 +1124,7 @@ dnl Find the GGI includes
CheckGGI() CheckGGI()
{ {
AC_ARG_ENABLE(video-ggi, AC_ARG_ENABLE(video-ggi,
AC_HELP_STRING([--enable-video-ggi], [use GGI video driver [default=no]]), AC_HELP_STRING([--enable-video-ggi], [use GGI video driver [[default=no]]]),
, enable_video_ggi=no) , enable_video_ggi=no)
if test x$enable_video = xyes -a x$enable_video_ggi = xyes; then if test x$enable_video = xyes -a x$enable_video_ggi = xyes; then
AC_MSG_CHECKING(for GGI support) AC_MSG_CHECKING(for GGI support)
...@@ -1150,7 +1150,7 @@ dnl Find the SVGAlib includes and libraries ...@@ -1150,7 +1150,7 @@ dnl Find the SVGAlib includes and libraries
CheckSVGA() CheckSVGA()
{ {
AC_ARG_ENABLE(video-svga, AC_ARG_ENABLE(video-svga,
AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [default=yes]]), AC_HELP_STRING([--enable-video-svga], [use SVGAlib video driver [[default=yes]]]),
, enable_video_svga=yes) , enable_video_svga=yes)
if test x$enable_video = xyes -a x$enable_video_svga = xyes; then if test x$enable_video = xyes -a x$enable_video_svga = xyes; then
AC_MSG_CHECKING(for SVGAlib (1.4.0+) support) AC_MSG_CHECKING(for SVGAlib (1.4.0+) support)
...@@ -1180,7 +1180,7 @@ dnl Find the VGL includes and libraries ...@@ -1180,7 +1180,7 @@ dnl Find the VGL includes and libraries
CheckVGL() CheckVGL()
{ {
AC_ARG_ENABLE(video-vgl, AC_ARG_ENABLE(video-vgl,
AC_HELP_STRING([--enable-video-vgl], [use VGL video driver [default=yes]]), AC_HELP_STRING([--enable-video-vgl], [use VGL video driver [[default=yes]]]),
, enable_video_vgl=yes) , enable_video_vgl=yes)
if test x$enable_video = xyes -a x$enable_video_vgl = xyes; then if test x$enable_video = xyes -a x$enable_video_vgl = xyes; then
AC_MSG_CHECKING(for libVGL support) AC_MSG_CHECKING(for libVGL support)
...@@ -1210,7 +1210,7 @@ dnl Set up the wscons video driver if enabled ...@@ -1210,7 +1210,7 @@ dnl Set up the wscons video driver if enabled
CheckWscons() CheckWscons()
{ {
AC_ARG_ENABLE(video-wscons, AC_ARG_ENABLE(video-wscons,
AC_HELP_STRING([--enable-video-wscons], [use wscons video driver [default=yes]]), AC_HELP_STRING([--enable-video-wscons], [use wscons video driver [[default=yes]]]),
, enable_video_wscons=yes) , enable_video_wscons=yes)
if test x$enable_video = xyes -a x$enable_video_wscons = xyes; then if test x$enable_video = xyes -a x$enable_video_wscons = xyes; then
AC_MSG_CHECKING(for wscons support) AC_MSG_CHECKING(for wscons support)
...@@ -1238,7 +1238,7 @@ dnl Find the AAlib includes ...@@ -1238,7 +1238,7 @@ dnl Find the AAlib includes
CheckAAlib() CheckAAlib()
{ {
AC_ARG_ENABLE(video-aalib, AC_ARG_ENABLE(video-aalib,
AC_HELP_STRING([--enable-video-aalib], [use AAlib video driver [default=no]]), AC_HELP_STRING([--enable-video-aalib], [use AAlib video driver [[default=no]]]),
, enable_video_aalib=no) , enable_video_aalib=no)
if test x$enable_video = xyes -a x$enable_video_aalib = xyes; then if test x$enable_video = xyes -a x$enable_video_aalib = xyes; then
AC_MSG_CHECKING(for AAlib support) AC_MSG_CHECKING(for AAlib support)
...@@ -1263,7 +1263,7 @@ dnl Set up the QTopia video driver if enabled ...@@ -1263,7 +1263,7 @@ dnl Set up the QTopia video driver if enabled
CheckQtopia() CheckQtopia()
{ {
AC_ARG_ENABLE(video-qtopia, AC_ARG_ENABLE(video-qtopia,
AC_HELP_STRING([--enable-video-qtopia], [use Qtopia video driver [default=no]]), AC_HELP_STRING([--enable-video-qtopia], [use Qtopia video driver [[default=no]]]),
, enable_video_qtopia=no) , enable_video_qtopia=no)
if test x$enable_video = xyes -a x$enable_video_qtopia = xyes; then if test x$enable_video = xyes -a x$enable_video_qtopia = xyes; then
AC_MSG_CHECKING(for Qtopia support) AC_MSG_CHECKING(for Qtopia support)
...@@ -1297,7 +1297,7 @@ dnl Set up the PicoGUI video driver if enabled ...@@ -1297,7 +1297,7 @@ dnl Set up the PicoGUI video driver if enabled
CheckPicoGUI() CheckPicoGUI()
{ {
AC_ARG_ENABLE(video-picogui, AC_ARG_ENABLE(video-picogui,
AC_HELP_STRING([--enable-video-picogui], [use PicoGUI video driver [default=no]]), AC_HELP_STRING([--enable-video-picogui], [use PicoGUI video driver [[default=no]]]),
, enable_video_picogui=no) , enable_video_picogui=no)
if test x$enable_video = xyes -a x$enable_video_picogui = xyes; then if test x$enable_video = xyes -a x$enable_video_picogui = xyes; then
AC_MSG_CHECKING(for PicoGUI support) AC_MSG_CHECKING(for PicoGUI support)
...@@ -1329,7 +1329,7 @@ dnl Set up the Atari Xbios driver ...@@ -1329,7 +1329,7 @@ dnl Set up the Atari Xbios driver
CheckAtariXbiosVideo() CheckAtariXbiosVideo()
{ {
AC_ARG_ENABLE(xbios, AC_ARG_ENABLE(xbios,
AC_HELP_STRING([--enable-video-xbios], [use Atari Xbios video driver [default=yes]]), AC_HELP_STRING([--enable-video-xbios], [use Atari Xbios video driver [[default=yes]]]),
, enable_video_xbios=yes) , enable_video_xbios=yes)
video_xbios=no video_xbios=no
if test x$enable_video = xyes -a x$enable_video_xbios = xyes; then if test x$enable_video = xyes -a x$enable_video_xbios = xyes; then
...@@ -1344,7 +1344,7 @@ dnl Set up the Atari Gem driver ...@@ -1344,7 +1344,7 @@ dnl Set up the Atari Gem driver
CheckAtariGemVideo() CheckAtariGemVideo()
{ {
AC_ARG_ENABLE(gem, AC_ARG_ENABLE(gem,
AC_HELP_STRING([--enable-video-gem], [use Atari Gem video driver [default=yes]]), AC_HELP_STRING([--enable-video-gem], [use Atari Gem video driver [[default=yes]]]),
, enable_video_gem=yes) , enable_video_gem=yes)
if test x$enable_video = xyes -a x$enable_video_gem = xyes; then if test x$enable_video = xyes -a x$enable_video_gem = xyes; then
video_gem=no video_gem=no
...@@ -1364,7 +1364,7 @@ dnl rcg04172001 Set up the Null video driver. ...@@ -1364,7 +1364,7 @@ dnl rcg04172001 Set up the Null video driver.
CheckDummyVideo() CheckDummyVideo()
{ {
AC_ARG_ENABLE(video-dummy, AC_ARG_ENABLE(video-dummy,
AC_HELP_STRING([--enable-video-dummy], [use dummy video driver [default=yes]]), AC_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) AC_DEFINE(SDL_VIDEO_DRIVER_DUMMY)
...@@ -1375,7 +1375,7 @@ AC_HELP_STRING([--enable-video-dummy], [use dummy video driver [default=yes]]), ...@@ -1375,7 +1375,7 @@ AC_HELP_STRING([--enable-video-dummy], [use dummy video driver [default=yes]]),
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,
AC_HELP_STRING([--enable-video-opengl], [include OpenGL context creation [default=yes]]), AC_HELP_STRING([--enable-video-opengl], [include OpenGL context creation [[default=yes]]]),
, enable_video_opengl=yes) , enable_video_opengl=yes)
dnl Find OpenGL dnl Find OpenGL
...@@ -1479,7 +1479,7 @@ CheckAtariOSMesa() ...@@ -1479,7 +1479,7 @@ CheckAtariOSMesa()
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $OSMESA_LIBS" EXTRA_LDFLAGS="$EXTRA_LDFLAGS $OSMESA_LIBS"
AC_ARG_ENABLE(osmesa-shared, AC_ARG_ENABLE(osmesa-shared,
AC_HELP_STRING([--enable-osmesa-shared], [dynamically load OSMesa OpenGL support [default=yes]]), AC_HELP_STRING([--enable-osmesa-shared], [dynamically load OSMesa OpenGL support [[default=yes]]]),
, enable_osmesa_shared=yes) , enable_osmesa_shared=yes)
if test "x$enable_osmesa_shared" = "xyes" -a "x$enable_atari_ldg" = "xyes"; then if test "x$enable_osmesa_shared" = "xyes" -a "x$enable_atari_ldg" = "xyes"; then
# Dynamic linking # Dynamic linking
...@@ -1495,7 +1495,7 @@ CheckInputEvents() ...@@ -1495,7 +1495,7 @@ CheckInputEvents()
{ {
dnl Check for Linux 2.4 unified input event interface support dnl Check for Linux 2.4 unified input event interface support
AC_ARG_ENABLE(input-events, AC_ARG_ENABLE(input-events,
AC_HELP_STRING([--enable-input-events], [use Linux 2.4 unified input interface [default=yes]]), AC_HELP_STRING([--enable-input-events], [use Linux 2.4 unified input interface [[default=yes]]]),
, enable_input_events=yes) , enable_input_events=yes)
if test x$enable_input_events = xyes; then if test x$enable_input_events = xyes; then
AC_MSG_CHECKING(for Linux 2.4 unified input interface) AC_MSG_CHECKING(for Linux 2.4 unified input interface)
...@@ -1520,7 +1520,7 @@ dnl See if we can use the Touchscreen input library ...@@ -1520,7 +1520,7 @@ dnl See if we can use the Touchscreen input library
CheckTslib() CheckTslib()
{ {
AC_ARG_ENABLE(input-tslib, AC_ARG_ENABLE(input-tslib,
AC_HELP_STRING([--enable-input-tslib], [use the Touchscreen library for input [default=yes]]), AC_HELP_STRING([--enable-input-tslib], [use the Touchscreen library for input [[default=yes]]]),
, enable_input_tslib=yes) , enable_input_tslib=yes)
if test x$enable_input_tslib = xyes; then if test x$enable_input_tslib = xyes; then
AC_MSG_CHECKING(for Touchscreen library support) AC_MSG_CHECKING(for Touchscreen library support)
...@@ -1544,7 +1544,7 @@ CheckPTH() ...@@ -1544,7 +1544,7 @@ CheckPTH()
{ {
dnl Check for pth support dnl Check for pth support
AC_ARG_ENABLE(pth, AC_ARG_ENABLE(pth,
AC_HELP_STRING([--enable-pth], [use GNU pth library for multi-threading [default=yes]]), AC_HELP_STRING([--enable-pth], [use GNU pth library for multi-threading [[default=yes]]]),
, enable_pth=yes) , enable_pth=yes)
if test x$enable_threads = xyes -a x$enable_pth = xyes; then if test x$enable_threads = xyes -a x$enable_pth = xyes; then
AC_PATH_PROG(PTH_CONFIG, pth-config, no) AC_PATH_PROG(PTH_CONFIG, pth-config, no)
...@@ -1571,11 +1571,11 @@ CheckPTHREAD() ...@@ -1571,11 +1571,11 @@ CheckPTHREAD()
{ {
dnl Check for pthread support dnl Check for pthread support
AC_ARG_ENABLE(pthreads, AC_ARG_ENABLE(pthreads,
AC_HELP_STRING([--enable-pthreads], [use POSIX threads for multi-threading [default=yes]]), AC_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,
AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [default=yes]]), AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]),
, enable_pthread_sem=yes) , enable_pthread_sem=yes)
case "$host" in case "$host" in
*-*-linux*) *-*-linux*)
...@@ -1763,7 +1763,7 @@ CheckWIN32() ...@@ -1763,7 +1763,7 @@ CheckWIN32()
dnl See if the user wants to redirect standard output to files dnl See if the user wants to redirect standard output to files
AC_ARG_ENABLE(stdio-redirect, AC_ARG_ENABLE(stdio-redirect,
AC_HELP_STRING([--enable-stdio-redirect], [Redirect STDIO to files on Win32 [default=yes]]), AC_HELP_STRING([--enable-stdio-redirect], [Redirect STDIO to files on Win32 [[default=yes]]]),
, enable_stdio_redirect=yes) , enable_stdio_redirect=yes)
if test x$enable_stdio_redirect != xyes; then if test x$enable_stdio_redirect != xyes; then
EXTRA_CFLAGS="$EXTRA_CFLAGS -DNO_STDIO_REDIRECT" EXTRA_CFLAGS="$EXTRA_CFLAGS -DNO_STDIO_REDIRECT"
...@@ -1781,7 +1781,7 @@ dnl Find the DirectX includes and libraries ...@@ -1781,7 +1781,7 @@ dnl Find the DirectX includes and libraries
CheckDIRECTX() CheckDIRECTX()
{ {
AC_ARG_ENABLE(directx, AC_ARG_ENABLE(directx,
AC_HELP_STRING([--enable-directx], [use DirectX for Win32 audio/video [default=yes]]), AC_HELP_STRING([--enable-directx], [use DirectX for Win32 audio/video [[default=yes]]]),
, enable_directx=yes) , enable_directx=yes)
if test x$enable_directx = xyes; then if test x$enable_directx = xyes; then
have_directx=no have_directx=no
...@@ -1803,7 +1803,7 @@ dnl Check for the dlfcn.h interface for dynamically loading objects ...@@ -1803,7 +1803,7 @@ dnl Check for the dlfcn.h interface for dynamically loading objects
CheckDLOPEN() CheckDLOPEN()
{ {
AC_ARG_ENABLE(sdl-dlopen, AC_ARG_ENABLE(sdl-dlopen,
AC_HELP_STRING([--enable-sdl-dlopen], [use dlopen for shared object loading [default=yes]]), AC_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)
...@@ -1835,7 +1835,7 @@ dnl Set up the Atari LDG (shared object loader) ...@@ -1835,7 +1835,7 @@ dnl Set up the Atari LDG (shared object loader)
CheckAtariLdg() CheckAtariLdg()
{ {
AC_ARG_ENABLE(atari-ldg, AC_ARG_ENABLE(atari-ldg,
AC_HELP_STRING([--enable-atari-ldg], [use Atari LDG for shared object loading [default=yes]]), AC_HELP_STRING([--enable-atari-ldg], [use Atari LDG for shared object loading [[default=yes]]]),
, enable_atari_ldg=yes) , enable_atari_ldg=yes)
if test x$video_gem = xyes -a x$enable_atari_ldg = xyes; then if test x$video_gem = xyes -a x$enable_atari_ldg = xyes; then
AC_CHECK_HEADER(ldg.h, have_ldg_hdr=yes) AC_CHECK_HEADER(ldg.h, have_ldg_hdr=yes)
...@@ -1985,7 +1985,7 @@ dnl Check for clock_gettime() ...@@ -1985,7 +1985,7 @@ dnl Check for clock_gettime()
CheckClockGettime() CheckClockGettime()
{ {
AC_ARG_ENABLE(clock_gettime, AC_ARG_ENABLE(clock_gettime,
AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [default=no]]), AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=no]]]),
, enable_clock_gettime=no) , enable_clock_gettime=no)
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)
...@@ -2009,7 +2009,7 @@ dnl Check if we want to use RPATH ...@@ -2009,7 +2009,7 @@ dnl Check if we want to use RPATH
CheckRPATH() CheckRPATH()
{ {
AC_ARG_ENABLE(rpath, AC_ARG_ENABLE(rpath,
AC_HELP_STRING([--enable-rpath], [use an rpath when linking SDL [default=yes]]), AC_HELP_STRING([--enable-rpath], [use an rpath when linking SDL [[default=yes]]]),
, enable_rpath=yes) , enable_rpath=yes)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment