dnl Check for versioned symbols
AC_MSG_CHECKING(for versioned symbols)
AC_ARG_WITH(versioned,
- [ --with-versioned=yes,no shared library will (not) be compiled with versioned symbols],
+ AS_HELP_STRING([--with-versioned],
+ [shared library will be compiled with versioned symbols (default = yes)]),
versioned="$withval", versioned="yes")
if test "$versioned" = "yes"; then
# it seems that GNU ld versions since 2.10 are not broken
dnl Check for debug...
AC_MSG_CHECKING(for debug)
AC_ARG_WITH(debug,
- [ --with-debug=yes,no library will (not) be compiled with asserts],
+ AS_HELP_STRING([--with-debug],
+ [library will be compiled with asserts (default = yes)]),
debug="$withval", debug="yes")
if test "$debug" = "yes"; then
AC_MSG_RESULT(yes)
dnl Temporary directory
AC_MSG_CHECKING(for tmpdir)
AC_ARG_WITH(tmpdir,
- [ --with-tmpdir=directory directory to put tmp socket files (/tmp)],
+ AS_HELP_STRING([--with-tmpdir=directory],
+ [directory to put tmp socket files (/tmp)]),
tmpdir="$withval", tmpdir="/tmp")
AC_MSG_RESULT($tmpdir)
AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir", [directory to put tmp socket files])
dnl Check for softfloat...
AC_MSG_CHECKING(for softfloat)
AC_ARG_WITH(softfloat,
- [ --with-softfloat do you have floating point unit on this machine? (optional)],
+ AS_HELP_STRING([--with-softfloat],
+ [do you have floating point unit on this machine? (optional)]),
[ AC_DEFINE(HAVE_SOFT_FLOAT, "1", [Avoid calculation in float])
softfloat=yes ],)
if test "$softloat" = "yes" ; then
dnl Check for libdl
AC_MSG_CHECKING(for libdl)
AC_ARG_WITH(libdl,
- [ --with-libdl Use libdl for plugins (default = yes)],
+ AS_HELP_STRING([--with-libdl], [Use libdl for plugins (default = yes)]),
[ have_libdl="$withval" ], [ have_libdl="yes" ])
if test "$have_libdl" = "yes"; then
AC_CHECK_LIB([dl], [dlsym], [HAVE_LIBDL="yes"])
dnl Check for pthread
AC_MSG_CHECKING(for pthread)
AC_ARG_WITH(pthread,
- [ --with-pthread Use pthread (default = yes)],
+ AS_HELP_STRING([--with-pthread], [Use pthread (default = yes)]),
[ have_pthread="$withval" ], [ have_pthread="yes" ])
if test "$have_pthread" = "yes"; then
AC_CHECK_LIB([pthread], [pthread_join], [HAVE_LIBPTHREAD="yes"])
dnl Check for resmgr support...
AC_MSG_CHECKING(for resmgr support)
AC_ARG_ENABLE(resmgr,
- [ --enable-resmgr support resmgr (optional)],
+ AS_HELP_STRING([--enable-resmgr], [support resmgr (optional)]),
resmgr="$enableval", resmgr="no")
AC_MSG_RESULT($resmgr)
if test "$resmgr" = "yes"; then
dnl Check for aload* support...
AC_MSG_CHECKING(for aload* support)
AC_ARG_ENABLE(aload,
- [ --disable-aload disable reading /dev/aload*],
+ AS_HELP_STRING([--disable-aload], [disable reading /dev/aload*]),
aload="$enableval", aload="yes")
AC_MSG_RESULT($aload)
if test "$aload" = "yes"; then
dnl Check for non-standard /dev directory
AC_MSG_CHECKING([for ALSA device file directory])
AC_ARG_WITH(alsa-devdir,
- [ --with-alsa-devdir=dir directory with ALSA device files (default /dev/snd)],
+ AS_HELP_STRING([--with-alsa-devdir=dir],
+ [directory with ALSA device files (default /dev/snd)]),
[alsa_dev_dir="$withval"],
[alsa_dev_dir="/dev/snd"])
dnl make sure it has a trailing slash
AC_MSG_CHECKING([for aload* device file directory])
AC_ARG_WITH(aload-devdir,
- [ --with-aload-devdir=dir directory with aload* device files (default /dev)],
+ AS_HELP_STRING([--with-aload-devdir=dir],
+ [directory with aload* device files (default /dev)]),
[aload_dev_dir="$withval"],
[aload_dev_dir="/dev"])
if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then
dnl Build conditions
AC_ARG_ENABLE(mixer,
- [ --disable-mixer Disable the mixer component],
+ AS_HELP_STRING([--disable-mixer], [disable the mixer component]),
[build_mixer="$enableval"], [build_mixer="yes"])
AC_ARG_ENABLE(pcm,
- [ --disable-pcm Disable the PCM component],
+ AS_HELP_STRING([--disable-pcm], [disable the PCM component]),
[build_pcm="$enableval"], [build_pcm="yes"])
AC_ARG_ENABLE(rawmidi,
- [ --disable-rawmidi Disable the raw MIDI component],
+ AS_HELP_STRING([--disable-rawmidi], [disable the raw MIDI component]),
[build_rawmidi="$enableval"], [build_rawmidi="yes"])
AC_ARG_ENABLE(hwdep,
- [ --disable-hwdep Disable the hwdep component],
+ AS_HELP_STRING([--disable-hwdep], [disable the hwdep component]),
[build_hwdep="$enableval"], [build_hwdep="yes"])
AC_ARG_ENABLE(seq,
- [ --disable-seq Disable the sequencer component],
+ AS_HELP_STRING([--disable-seq], [disable the sequencer component]),
[build_seq="$enableval"], [build_seq="yes"])
AC_ARG_ENABLE(instr,
- [ --disable-instr Disable the instrument component],
+ AS_HELP_STRING([--disable-instr], [disable the instrument component]),
[build_instr="$enableval"], [build_instr="yes"])
AC_ARG_ENABLE(alisp,
- [ --disable-alisp Disable the alisp component],
+ AS_HELP_STRING([--disable-alisp], [disable the alisp component]),
[build_alisp="$enableval"], [build_alisp="yes"])
if test "$build_seq" != "yes"; then
if test "$build_pcm" = "yes"; then
AC_ARG_WITH(pcm-plugins,
- [ --with-pcm-plugins=<list> Build PCM plugins ],
+ AS_HELP_STRING([--with-pcm-plugins=<list>],
+ [build PCM plugins (default = all)]),
[pcm_plugins="$withval"], [pcm_plugins="all"])
else
pcm_plugins=""
dnl Control Plugins
AC_ARG_WITH(ctl-plugins,
- [ --with-ctl-plugins=<list> Build Control plugins ],
+ AS_HELP_STRING([--with-ctl-plugins=<list>],
+ [build control plugins (default = all)]),
[ctl_plugins="$withval"], [ctl_plugins="all"])
CTL_PLUGIN_LIST="shm ext"