File timidity-ac_help_string.patch of Package timidity
Index: autoconf/vorbis.m4
===================================================================
--- autoconf/vorbis.m4.orig 2011-01-18 13:03:54.427801104 +0100
+++ autoconf/vorbis.m4 2011-01-18 13:03:54.799811872 +0100
@@ -9,10 +9,22 @@ AC_DEFUN([AM_PATH_VORBIS],
[dnl
dnl Get the cflags and libraries
dnl
-AC_ARG_WITH(vorbis,[ --with-vorbis=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="")
-AC_ARG_WITH(vorbis-libraries,[ --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)], vorbis_libraries="$withval", vorbis_libraries="")
-AC_ARG_WITH(vorbis-includes,[ --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)], vorbis_includes="$withval", vorbis_includes="")
-AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes)
+AC_ARG_WITH(vorbis,
+ AS_HELP_STRING([--with-vorbis=PFX],
+ [Prefix where libvorbis is installed (optional)]),
+ [vorbis_prefix="$withval"], [vorbis_prefix=""])
+AC_ARG_WITH(vorbis-libraries,
+ AS_HELP_STRING([--with-vorbis-libraries=DIR],
+ [Directory where libvorbis library is installed (optional)]),
+ [vorbis_libraries="$withval"], [vorbis_libraries=""])
+AC_ARG_WITH(vorbis-includes,
+ AS_HELP_STRING([--with-vorbis-includes=DIR],
+ [Directory where libvorbis header files are installed (optional)]),
+ [vorbis_includes="$withval"], [vorbis_includes=""])
+AC_ARG_ENABLE(vorbistest,
+ AS_HELP_STRING([--disable-vorbistest],
+ [Do not try to compile and run a test Vorbis program]),
+ , [enable_vorbistest=yes])
if test "x$vorbis_libraries" != "x" ; then
VORBIS_LIBS="-L$vorbis_libraries"
Index: autoconf/alsa.m4
===================================================================
--- autoconf/alsa.m4.orig 2011-01-18 13:03:54.584805649 +0100
+++ autoconf/alsa.m4 2011-01-18 13:03:54.856813521 +0100
@@ -25,18 +25,20 @@ dnl
dnl Get the cflags and libraries for alsa
dnl
AC_ARG_WITH(alsa-prefix,
-[ --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)],
-[alsa_prefix="$withval"], [alsa_prefix=""])
+ AS_HELP_STRING([--with-alsa-prefix=PFX],
+ [Prefix where Alsa library is installed(optional)]),
+ [alsa_prefix="$withval"], [alsa_prefix=""])
AC_ARG_WITH(alsa-inc-prefix,
-[ --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)],
-[alsa_inc_prefix="$withval"], [alsa_inc_prefix=""])
+ AS_HELP_STRING([--with-alsa-inc-prefix=PFX],
+ [Prefix where include libraries are (optional)]),
+ [alsa_inc_prefix="$withval"], [alsa_inc_prefix=""])
dnl FIXME: this is not yet implemented
AC_ARG_ENABLE(alsatest,
-[ --disable-alsatest Do not try to compile and run a test Alsa program],
-[enable_alsatest=no],
-[enable_alsatest=yes])
+ AS_HELP_STRING([--disable-alsatest],
+ [Do not try to compile and run a test Alsa program]),
+ [enable_alsatest=no], [enable_alsatest=yes])
dnl Add any special include directories
AC_MSG_CHECKING(for ALSA CFLAGS)
Index: autoconf/ao.m4
===================================================================
--- autoconf/ao.m4.orig 2011-01-18 13:03:54.612806459 +0100
+++ autoconf/ao.m4 2011-01-18 13:03:54.882814273 +0100
@@ -10,10 +10,21 @@ AC_DEFUN([XIPH_PATH_AO],
[dnl
dnl Get the cflags and libraries
dnl
-AC_ARG_WITH(ao,[ --with-ao=PFX Prefix where libao is installed (optional)], ao_prefix="$withval", ao_prefix="")
-AC_ARG_WITH(ao-libraries,[ --with-ao-libraries=DIR Directory where libao library is installed (optional)], ao_libraries="$withval", ao_libraries="")
-AC_ARG_WITH(ao-includes,[ --with-ao-includes=DIR Directory where libao header files are installed (optional)], ao_includes="$withval", ao_includes="")
-AC_ARG_ENABLE(aotest, [ --disable-aotest Do not try to compile and run a test ao program],, enable_aotest=yes)
+AC_ARG_WITH(ao,
+ AS_HELP_STRING([--with-ao=PFX], [Prefix where libao is installed (optional)]),
+ [ao_prefix="$withval"], [ao_prefix=""])
+AC_ARG_WITH(ao-libraries,
+ AS_HELP_STRING([--with-ao-libraries=DIR],
+ [Directory where libao library is installed (optional)]),
+ [ao_libraries="$withval"], [ao_libraries=""])
+AC_ARG_WITH(ao-includes,
+ AS_HELP_STRING([--with-ao-includes=DIR],
+ [Directory where libao header files are installed (optional)]),
+ [ao_includes="$withval"], [ao_includes=""])
+AC_ARG_ENABLE(aotest,
+ AS_HELP_STRING([--disable-aotest],
+ [Do not try to compile and run a test ao program]),,
+ [enable_aotest=yes])
if test "x$ao_libraries" != "x" ; then
Index: autoconf/arts.m4
===================================================================
--- autoconf/arts.m4.orig 2011-01-18 13:03:54.637807182 +0100
+++ autoconf/arts.m4 2011-01-18 13:03:54.907814998 +0100
@@ -13,10 +13,14 @@ AC_DEFUN([AM_PATH_ARTS],
[dnl
dnl Get the cflags and libraries from the arts-config script
dnl
-AC_ARG_WITH(arts-prefix,[ --with-arts-prefix=PFX Prefix where ARTS is installed (optional)],
- arts_prefix="$withval", arts_prefix="")
-AC_ARG_ENABLE(artstest, [ --disable-artstest Do not try to compile and run a test ARTS program],
- , enable_artstest=yes)
+AC_ARG_WITH(arts-prefix,
+ AS_HELP_STRING([--with-arts-prefix=PFX],
+ [Prefix where ARTS is installed (optional)]),
+ arts_prefix="$withval", arts_prefix="")
+AC_ARG_ENABLE(artstest,
+ AS_HELP_STRING([--disable-artstest],
+ [Do not try to compile and run a test ARTS program]),
+ , enable_artstest=yes)
if test x$arts_prefix != x ; then
arts_args="$arts_args --prefix=$arts_prefix"
@@ -156,4 +160,4 @@ int main ()
AC_SUBST(ARTS_LIBS)
rm -f conf.artstest
])
-dnl End of aRts
\ No newline at end of file
+dnl End of aRts
Index: autoconf/esd.m4
===================================================================
--- autoconf/esd.m4.orig 2011-01-18 13:03:54.679808398 +0100
+++ autoconf/esd.m4 2011-01-18 13:03:54.933815750 +0100
@@ -11,12 +11,18 @@ AC_DEFUN([AM_PATH_ESD],
[dnl
dnl Get the cflags and libraries from the esd-config script
dnl
-AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)],
- esd_prefix="$withval", esd_prefix="")
-AC_ARG_WITH(esd-exec-prefix,[ --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)],
- esd_exec_prefix="$withval", esd_exec_prefix="")
-AC_ARG_ENABLE(esdtest, [ --disable-esdtest Do not try to compile and run a test ESD program],
- , enable_esdtest=yes)
+AC_ARG_WITH(esd-prefix,
+ AS_HELP_STRING([--with-esd-prefix=PFX],
+ [Prefix where ESD is installed (optional)]),
+ [esd_prefix="$withval"], [esd_prefix=""])
+AC_ARG_WITH(esd-exec-prefix,
+ AS_HELP_STRING([--with-esd-exec-prefix=PFX],
+ [Exec prefix where ESD is installed (optional)]),
+ [esd_exec_prefix="$withval"], [esd_exec_prefix=""])
+AC_ARG_ENABLE(esdtest,
+ AS_HELP_STRING([--disable-esdtest],
+ [Do not try to compile and run a test ESD program]),
+ , [enable_esdtest=yes])
if test x$esd_exec_prefix != x ; then
esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
Index: autoconf/gtk-2.0.m4
===================================================================
--- autoconf/gtk-2.0.m4.orig 2011-01-18 13:03:54.705809150 +0100
+++ autoconf/gtk-2.0.m4 2011-01-18 13:03:54.966816705 +0100
@@ -9,8 +9,10 @@ AC_DEFUN([AM_PATH_GTK_2_0],
[dnl
dnl Get the cflags and libraries from pkg-config
dnl
-AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
- , enable_gtktest=yes)
+AC_ARG_ENABLE(gtktest,
+ AS_HELP_STRING([--disable-gtktest],
+ [do not try to compile and run a test GTK+ program]),
+ , [enable_gtktest=yes])
pkg_config_args=gtk+-2.0
for module in . $4
Index: autoconf/gtk.m4
===================================================================
--- autoconf/gtk.m4.orig 2011-01-18 13:03:54.738810105 +0100
+++ autoconf/gtk.m4 2011-01-18 13:03:55.000817689 +0100
@@ -8,12 +8,18 @@ AC_DEFUN([AM_PATH_GTK],
[dnl
dnl Get the cflags and libraries from the gtk-config script
dnl
-AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
- gtk_config_prefix="$withval", gtk_config_prefix="")
-AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
- gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
-AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
- , enable_gtktest=yes)
+AC_ARG_WITH(gtk-prefix,
+ AS_HELP_STRING([--with-gtk-prefix=PFX],
+ [Prefix where GTK is installed (optional)]),
+ [gtk_config_prefix="$withval"], [gtk_config_prefix=""])
+AC_ARG_WITH(gtk-exec-prefix,
+ AS_HELP_STRING([--with-gtk-exec-prefix=PFX],
+ [Exec prefix where GTK is installed (optional)]),
+ [gtk_config_exec_prefix="$withval"], [gtk_config_exec_prefix=""])
+AC_ARG_ENABLE(gtktest,
+ AS_HELP_STRING([--disable-gtktest],
+ [Do not try to compile and run a test GTK program]),
+ , [enable_gtktest=yes])
for module in . $4
do
Index: autoconf/libFLAC.m4
===================================================================
--- autoconf/libFLAC.m4.orig 2011-01-18 13:03:54.763810830 +0100
+++ autoconf/libFLAC.m4 2011-01-18 13:03:55.025818412 +0100
@@ -8,10 +8,22 @@ AC_DEFUN([AM_PATH_LIBFLAC],
[dnl
dnl Get the cflags and libraries
dnl
-AC_ARG_WITH(libFLAC,[ --with-libFLAC=PFX Prefix where libFLAC is installed (optional)], libFLAC_prefix="$withval", libFLAC_prefix="")
-AC_ARG_WITH(libFLAC-libraries,[ --with-libFLAC-libraries=DIR Directory where libFLAC library is installed (optional)], libFLAC_libraries="$withval", libFLAC_libraries="")
-AC_ARG_WITH(libFLAC-includes,[ --with-libFLAC-includes=DIR Directory where libFLAC header files are installed (optional)], libFLAC_includes="$withval", libFLAC_includes="")
-AC_ARG_ENABLE(libFLACtest, [ --disable-libFLACtest Do not try to compile and run a test libFLAC program],, enable_libFLACtest=yes)
+AC_ARG_WITH(libFLAC,
+ AS_HELP_STRING([--with-libFLAC=PFX],
+ [Prefix where libFLAC is installed (optional)]),
+ [libFLAC_prefix="$withval"], [libFLAC_prefix=""])
+AC_ARG_WITH(libFLAC-libraries,
+ AS_HELP_STRING([--with-libFLAC-libraries=DIR],
+ [Directory where libFLAC library is installed (optional)]),
+ [libFLAC_libraries="$withval"], [libFLAC_libraries=""])
+AC_ARG_WITH(libFLAC-includes,
+ AS_HELP_STRING([--with-libFLAC-includes=DIR],
+ [Directory where libFLAC header files are installed (optional)]),
+ [libFLAC_includes="$withval"], [libFLAC_includes=""])
+AC_ARG_ENABLE(libFLACtest,
+ AS_HELP_STRING([--disable-libFLACtest],
+ [Do not try to compile and run a test libFLAC program]),,
+ [enable_libFLACtest=yes])
if test "x$libFLAC_libraries" != "x" ; then
LIBFLAC_LIBS="-L$libFLAC_libraries"
Index: autoconf/libOggFLAC.m4
===================================================================
--- autoconf/libOggFLAC.m4.orig 2011-01-18 13:03:54.788811553 +0100
+++ autoconf/libOggFLAC.m4 2011-01-18 13:03:55.054819253 +0100
@@ -8,10 +8,22 @@ AC_DEFUN([AM_PATH_LIBOGGFLAC],
[dnl
dnl Get the cflags and libraries
dnl
-AC_ARG_WITH(libOggFLAC,[ --with-libOggFLAC=PFX Prefix where libOggFLAC is installed (optional)], libOggFLAC_prefix="$withval", libOggFLAC_prefix="")
-AC_ARG_WITH(libOggFLAC-libraries,[ --with-libOggFLAC-libraries=DIR Directory where libOggFLAC library is installed (optional)], libOggFLAC_libraries="$withval", libOggFLAC_libraries="")
-AC_ARG_WITH(libOggFLAC-includes,[ --with-libOggFLAC-includes=DIR Directory where libOggFLAC header files are installed (optional)], libOggFLAC_includes="$withval", libOggFLAC_includes="")
-AC_ARG_ENABLE(libOggFLACtest, [ --disable-libOggFLACtest Do not try to compile and run a test libOggFLAC program],, enable_libOggFLACtest=yes)
+AC_ARG_WITH(libOggFLAC,
+ AS_HELP_STRING([--with-libOggFLAC=PFX],
+ [Prefix where libOggFLAC is installed (optional)]),
+ [libOggFLAC_prefix="$withval"], [libOggFLAC_prefix=""])
+AC_ARG_WITH(libOggFLAC-libraries,
+ AS_HELP_STRING([--with-libOggFLAC-libraries=DIR],
+ [Directory where libOggFLAC library is installed (optional)]),
+ [libOggFLAC_libraries="$withval"], [libOggFLAC_libraries=""])
+AC_ARG_WITH(libOggFLAC-includes,
+ AS_HELP_STRING([--with-libOggFLAC-includes=DIR],
+ [Directory where libOggFLAC header files are installed (optional)]),
+ [libOggFLAC_includes="$withval"], [libOggFLAC_includes=""])
+AC_ARG_ENABLE(libOggFLACtest,
+ AS_HELP_STRING([--disable-libOggFLACtest],
+ [Do not try to compile and run a test libOggFLAC program]),,
+ [enable_libOggFLACtest=yes])
if test "x$libOggFLAC_libraries" != "x" ; then
LIBOGGFLAC_LIBS="-L$libOggFLAC_libraries"
Index: autoconf/ogg.m4
===================================================================
--- autoconf/ogg.m4.orig 2011-01-18 13:03:54.538804317 +0100
+++ autoconf/ogg.m4 2011-01-18 13:03:55.085820150 +0100
@@ -9,10 +9,22 @@ AC_DEFUN([AM_PATH_OGG],
[dnl
dnl Get the cflags and libraries
dnl
-AC_ARG_WITH(ogg,[ --with-ogg=PFX Prefix where libogg is installed (optional)], ogg_prefix="$withval", ogg_prefix="")
-AC_ARG_WITH(ogg-libraries,[ --with-ogg-libraries=DIR Directory where libogg library is installed (optional)], ogg_libraries="$withval", ogg_libraries="")
-AC_ARG_WITH(ogg-includes,[ --with-ogg-includes=DIR Directory where libogg header files are installed (optional)], ogg_includes="$withval", ogg_includes="")
-AC_ARG_ENABLE(oggtest, [ --disable-oggtest Do not try to compile and run a test Ogg program],, enable_oggtest=yes)
+AC_ARG_WITH(ogg,
+ AS_HELP_STRING([--with-ogg=PFX],
+ [Prefix where libogg is installed (optional)]),
+ [ogg_prefix="$withval"], [ogg_prefix=""])
+AC_ARG_WITH(ogg-libraries,
+ AS_HELP_STRING([--with-ogg-libraries=DIR],
+ [Directory where libogg library is installed (optional)]),
+ [ogg_libraries="$withval"], [ogg_libraries=""])
+AC_ARG_WITH(ogg-includes,
+ AS_HELP_STRING([--with-ogg-includes=DIR],
+ [Directory where libogg header files are installed (optional)]),
+ [ogg_includes="$withval"], [ogg_includes=""])
+AC_ARG_ENABLE(oggtest,
+ AS_HELP_STRING([--disable-oggtest],
+ [Do not try to compile and run a test Ogg program]),,
+ [enable_oggtest=yes])
if test "x$ogg_libraries" != "x" ; then
OGG_LIBS="-L$ogg_libraries"
Index: configure.in
===================================================================
--- configure.in.orig 2011-01-18 13:03:59.000000000 +0100
+++ configure.in 2011-01-18 13:04:45.974292997 +0100
@@ -70,8 +70,8 @@ CONTAINS_INIT
dnl "--enable-debug" turnes -g on.
AC_MSG_CHECKING(if --enable-debug option specified)
AC_ARG_ENABLE(debug,
- [ --enable-debug Build a debugging version.],
- [timidity_cv_debug="yes"], [timidity_cv_debug="no"])
+ AS_HELP_STRING([--enable-debug], [Build a debugging version.]),
+ [timidity_cv_debug="yes"], [timidity_cv_debug="no"])
if test "x$timidity_cv_debug" = "xyes"; then
AC_DEFINE(DEBUG,1,Define to 1 if you are in debug mode)
CFLAGS=${CFLAGS-"-g"}
@@ -107,7 +107,7 @@ fi
dnl add --with-includes, --with-libraries
AC_ARG_WITH(includes,
- [ --with-includes=DIR Specify include directories (colon separated)],
+ AS_HELP_STRING([--with-includes=DIR], [Specify include directories (colon separated)]),
[ j=' '
for i in `echo "$withval"|sed -e 's,:, ,g'`; do
j="${j}-I${i} "
@@ -116,7 +116,7 @@ AC_ARG_WITH(includes,
])
AC_ARG_WITH(libraries,
- [ --with-libraries=DIR Specify library directories (colon separated)],
+ AS_HELP_STRING([--with-libraries=DIR, [Specify library directories (colon separated)]),
[ j=' '
for i in `echo "$withval"|sed -e 's,:, ,g'`; do
j="${j}-L${i} "
@@ -128,7 +128,7 @@ AC_ARG_WITH(libraries,
dnl a bit hairly yet.(20020718:mput)
dnl CPPFLAGS="$CPPFLAGS \$(DEF_PKGDATADIR) \$(DEF_PKGLIBDIR) \$(DEF_DEFAULT_PATH)"
AC_ARG_WITH(default-path,
- [ --with-default-path=DIR Where timidity.cfg is (PREFIX/share/timidity)],
+ AS_HELP_STRING([--with-default-path=DIR[, [Where timidity.cfg is (PREFIX/share/timidity)]),
[pkgdatadir=$withval],
[
if test "x$prefix" != "xNONE"; then
@@ -142,7 +142,7 @@ AC_DEFINE_UNQUOTED(DEFAULT_PATH,"$tmpdef
AC_DEFINE(PKGDATADIR,DEFAULT_PATH,a compatibility matter. ignore it.)
AC_ARG_WITH(module-dir,
- [ --with-module-dir=DIR Where to install interfaces (PREFIX/lib/timidity)],
+ AS_HELP_STRING([--with-module-dir=DIR], [Where to install interfaces (PREFIX/lib/timidity)]),
[pkglibdir=$withval],
[
if test "x$prefix" != "xNONE"; then
@@ -168,11 +168,11 @@ CHECK_COMPILER_OPTION(rdynamic)
# Checks for target dependencies
AC_ARG_WITH(elf,
- [ --with-elf create ELF shared object instead of AOUT ],
+ AS_HELP_STRING([--with-elf], [create ELF shared object instead of AOUT]),
[ ELFFORMAT=$withval ], [ ELFFORMAT="yes" ])
# AC_ARG_WITH(simd,
-# [ --with-simd create SIMD friendly binary (default is no) ],
+# AS_HELP_STRING([--with-simd], [create SIMD friendly binary (default is no) ]),
# [ SIMD=$withval ], [ SIMD="no" ])
case "$target" in
@@ -629,26 +629,26 @@ fi
dnl tcltk paths
AC_ARG_WITH(tcl-includes,
- [ --with-tcl-includes=DIR Tcl include file path ],
+ AS_HELP_STRING([--with-tcl-includes=DIR], [Tcl include file path]),
[ if test ! -d $withval; then
AC_MSG_WARN($withval is not found.)
fi
tcl_include_dir="-I$withval"
])
AC_ARG_WITH(tcl-libs,
- [ --with-tcl-libs=DIR Tcl library file path ],
+ AS_HELP_STRING([--with-tcl-libs=DIR], [Tcl library file path]),
[ if test ! -d $withval; then
AC_MSG_WARN($withval is not found.)
fi
tcl_libdir="-L$withval" ])
AC_ARG_WITH(tk-includes,
- [ --with-tk-includes=DIR Tk include file path ],
+ AS_HELP_STRING([--with-tk-includes=DIR], [Tk include file path]),
[ if test ! -d $withval; then
AC_MSG_WARN($withval is not found.)
fi
tk_includes="-I$withval" ])
AC_ARG_WITH(tk-libs,
- [ --with-tk-libs=DIR Tk library file path ],
+ AS_HELP_STRING([--with-tk-libs=DIR], [Tk library file path]),
[ if test ! -d $withval; then
AC_MSG_WARN($withval is not found.)
fi
@@ -656,13 +656,13 @@ AC_ARG_WITH(tk-libs,
dnl offix paths
AC_ARG_WITH(offix-includes,
- [ --with-offix-includes=DIR Offix include file path ],
+ AS_HELP_STRING([--with-offix-includes=DIR], [Offix include file path]),
[ if test ! -d $withval; then
AC_MSG_WARN($withval is not found.)
fi
offix_include_dir="-I$withval" ])
AC_ARG_WITH(offix-libs,
- [ --with-offix-libs=DIR Offix include file path ],
+ AS_HELP_STRING([--with-offix-libs=DIR], [Offix include file path]),
[ if test ! -d $withval; then
AC_MSG_WARN($withval is not found.)
fi
@@ -698,13 +698,13 @@ dnl ao(O): Libao
audio_targets='default oss alsa sun hpux irix mme sb_dsp w32 alib nas arts esd vorbis flac gogo portaudio jack ao'
AC_ARG_WITH(nas-library,
- [ --with-nas-library=library NAS absolute library path(Don't use -laudio)])
+ AS_HELP_STRING([--with-nas-library=library], [NAS absolute library path(Don't use -laudio)]))
AC_ARG_WITH(nas-includes,
- [ --with-nas-includes=DIR NAS include files are in dir])
+ AS_HELP_STRING([--with-nas-includes=DIR], [NAS include files are in dir]))
AC_ARG_ENABLE(audio,
- [ --enable-audio[=mode_list] Enable audio (Specify comma separated mode list):
+ AS_HELP_STRING([--enable-audio[=mode_list]], [Enable audio (Specify comma separated mode list):
default: Automatically select audio device.
oss: OSS /dev/dsp
sun: SunOS /dev/audio
@@ -725,7 +725,7 @@ AC_ARG_ENABLE(audio,
vorbis: Ogg Vorbis
flac: FLAC / OggFLAC
speex: Ogg Speex
- gogo: MP3 GOGO (Only Windows is supported)],
+ gogo: MP3 GOGO (Only Windows is supported)]),
[ enable_audio=$enableval
have_audio_opt=yes ],
[ enable_audio=yes
@@ -743,15 +743,15 @@ fi
dnl Turn on default output mode
DEFAULT_PLAYMODE=
AC_ARG_WITH(default-output,
- [ --with-default-output=<mode> Specify default output mode (optional):
+ AS_HELP_STRING([--with-default-output=<mode>], [Specify default output mode (optional):
(default|alsa|alib|arts|nas|
esd|wav|au|aiff|list|vorbis|flac|speex|
- gogo|portaudio|jack|ao)],
+ gogo|portaudio|jack|ao)]),
[ if test "$enable_audio" != no; then
DEFAULT_PLAYMODE=$withval
eval "au_enable_$DEFAULT_PLAYMODE=yes"
else
- AC_MSG_WARN(--with-default-output=$withval: audio is not enabled)
+ AC_MSG_WARN([--with-default-output=$withval: audio is not enabled])
fi])
dnl compatibility matters.
@@ -1315,17 +1315,15 @@ AC_MSG_RESULT($DEFAULT_PLAYMODE/$TIMIDIT
interface_targets='dynamic ncurses slang motif tcltk emacs vt100 xaw xskin gtk alsaseq winsyn winsyng portmidisyng'
AC_ARG_ENABLE(interface,
- [ --enable-interface=[interface_list]
- Comma separated interface list ],
+ AS_HELP_STRING([--enable-interface=[interface_list]], [Comma separated interface list ]),
[ for i in `echo $enableval | sed 's/,/ /g'`; do
eval "enable_$i=yes"
done ])
# Dynamic link configuration
AC_ARG_ENABLE(dynamic,
- [ --enable-dynamic Enable dynamic link interface (default is no)
- --enable-dynamic=dynamic_list
- Comma separated dynamic interface list],
+ AS_HELP_STRING([--enable-dynamic], [Enable dynamic link interface (default is no)])
+ AS_HELP_STRING([--enable-dynamic=dynamic_list] [Comma separated dynamic interface list]),
[ dnl --enable-dynamic=yes to --enable-dynamic=dynamic
if test "x$enable_dynamic" = xyes; then
enable_dynamic=dynamic
@@ -1817,7 +1815,7 @@ CONFIG_INTERFACE(ump, PLUGIN, p,
dnl Offix support
dnl this rely on CFLAGS and LIBS
AC_ARG_ENABLE(offix,
- [ --enable-offix Enable offix support (default is no)],
+ AS_HELP_STRING([--enable-offix], [Enable offix support (default is no)]),
[ if test "$enableval" = "yes"; then
KEEPCPPFLAGS=$CPPFLAGS
KEEPLIBS=$LIBS
@@ -1839,7 +1837,7 @@ AC_ARG_ENABLE(offix,
dnl Network section
AC_ARG_ENABLE(network,
- [ --enable-network Enable network support (default is no)],
+ AS_HELP_STRING([--enable-network], [Enable network support (default is no)]),
[ if test "$enableval" = "yes"; then
AC_DEFINE(SUPPORT_SOCKET,1,Define to 1 if you need network support)
fi ])
@@ -1847,7 +1845,7 @@ AM_CONDITIONAL(ENABLE_NETWORK, test "x$e
dnl Sound Spectrogram Viewer
AC_ARG_ENABLE(spectrogram,
- [ --enable-spectrogram Enable Sound Spectrogram Viewer (default is no)],
+ AS_HELP_STRING([--enable-spectrogram], [Enable Sound Spectrogram Viewer (default is no)]),
[ if test "$enableval" = "yes"; then
if test "x$with_x" != xyes; then
AC_MSG_ERROR(spectrogram: --with-x option must be specified)
@@ -1858,9 +1856,9 @@ AM_CONDITIONAL(ENABLE_SOUND_SPEC, test "
dnl Wave Spline Interpolations
AC_ARG_ENABLE(spline,
- [ --enable-spline=[method] Specify spline method.
+ AS_HELP_STRING([--enable-spline=[method], [Specify spline method.
one of no,linear,cubic,lagrange,newton,gauss
- (default is linear)],
+ (default is linear)]),
[ case "x$enableval" in
xlinear)
AC_DEFINE(DEFAULT_RESAMPLATION,resample_linear,Define resampler.)
@@ -1887,7 +1885,7 @@ AC_ARG_ENABLE(spline,
dnl WRD interface
AC_ARG_ENABLE(wrd,
- [ --enable-wrd Enable WRD interface for X (default is no)],
+ AS_HELP_STRING([--enable-wrd], [Enable WRD interface for X (default is no)]),
[ if test "$enableval" = "yes"; then
if test "x$with_x" != xyes; then
AC_MSG_ERROR(wrd: --with-x option must be specified)