]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Use AS_HELP_STRING in configure.in
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Mar 2007 12:03:10 +0000 (14:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Mar 2007 12:03:10 +0000 (14:03 +0200)
Use AS_HELP_STRING macro in configure.in.
Fix some help descriptions.

configure.in

index 40e7674f4f81351ff5d3cf2786c2b8afcd19f1e3..09b4ec00168766695c56e30298180b2c1188749b 100644 (file)
@@ -80,7 +80,8 @@ AC_DEFINE_UNQUOTED(PKGLIBDIR, "$dir/$PACKAGE", [directory containing ALSA add-on
 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
@@ -120,7 +121,8 @@ AC_MSG_RESULT($SYMBOL_PREFIX)
 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)
@@ -132,7 +134,8 @@ fi
 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])
@@ -140,7 +143,8 @@ 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
@@ -157,7 +161,7 @@ fi
 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"])
@@ -173,7 +177,7 @@ AM_CONDITIONAL(BUILD_MODULES, test "$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"])
@@ -227,7 +231,7 @@ AC_CHECK_HEADERS([wordexp.h])
 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
@@ -239,7 +243,7 @@ fi
 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
@@ -249,7 +253,8 @@ fi
 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
@@ -261,7 +266,8 @@ AC_MSG_RESULT([$alsa_dev_dir])
 
 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
@@ -272,25 +278,25 @@ AC_MSG_RESULT([$aload_dev_dir])
 
 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
@@ -325,7 +331,8 @@ dnl PCM Plugins
 
 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=""
@@ -434,7 +441,8 @@ done
 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"