Skip to contentSkip to conversation

configure.in: use AS_HELP_STRING everywhere

PATCH Applied Mike Frysinger 2 participants 2 messages Apr 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure.in: use AS_HELP_STRING everywhere

This macro takes care of spacing for us.

---
 configure.in |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
configure.in +5 -5
index 9404df0..e7bb4ca 100644
@@ -76,7 +76,7 @@ CURSES_CFLAGS=""
 alsamixer=
 if test "$have_mixer" = "yes"; then
 AC_ARG_ENABLE(alsamixer,
-     [  --disable-alsamixer     Disable alsamixer compilation],
+     AS_HELP_STRING([--disable-alsamixer], [Disable alsamixer compilation]),
      [case "${enableval}" in
        yes) alsamixer=true ;;
        no)  alsamixer=false ;;
@@ -87,7 +87,7 @@ AM_CONDITIONAL(ALSAMIXER, test x$alsamixer = xtrue)
 
 dnl Disable alsaconf
 AC_ARG_ENABLE(alsaconf,
-     [  --disable-alsaconf      Disable alsaconf packaging],
+     AS_HELP_STRING([--disable-alsaconf], [Disable alsaconf packaging]),
      [case "${enableval}" in
        yes) alsaconf=true ;;
        no)  alsaconf=false ;;
@@ -97,7 +97,7 @@ AM_CONDITIONAL(ALSACONF, test x$alsaconf = xtrue)
 
 dnl Disable alsaloop
 AC_ARG_ENABLE(alsaloop,
-     [  --disable-alsaloop      Disable alsaloop packaging],
+     AS_HELP_STRING([--disable-alsaloop], [Disable alsaloop packaging]),
      [case "${enableval}" in
        yes) alsaloop=true ;;
        no)  alsaloop=false ;;
@@ -124,7 +124,7 @@ dnl Checks for header files.
 AC_HEADER_STDC
 if test x$alsamixer = xtrue; then
   AC_ARG_WITH(curses,
-    [  --with-curses libname   Specify the curses library to use (default=auto)],
+    AS_HELP_STRING([--with-curses=libname], [Specify the curses library to use (default=auto)]),
     curseslib="$withval",
     curseslib="auto")
   CURSESLIBDIR=""
@@ -283,7 +283,7 @@ mydatadir="$dir/alsa"
 AC_DEFINE_UNQUOTED(DATADIR, "$mydatadir", [directory containing alsa configuration])
 
 AC_ARG_WITH(testsound,
-  [  --with-testsound=file        give the path of test sound file for alsaconf],
+  AS_HELP_STRING([--with-testsound=file], [give the path of test sound file for alsaconf]),
   TESTSOUND="$withval",
   TESTSOUND="$dir/test.wav")
 AC_SUBST(TESTSOUND)
Signature · 1 line
1.7.8.5
Applied
#1 lore raw

At Wed, 18 Apr 2012 10:29:18 -0400,

Quoted 4 lines · Mike Frysinger

This macro takes care of spacing for us.

Applied, too. Thanks.

Takashi

Quoted 61 lines
---
 configure.in |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
configure.in +5 -5
index 9404df0..e7bb4ca 100644
@@ -76,7 +76,7 @@ CURSES_CFLAGS=""
 alsamixer=
 if test "$have_mixer" = "yes"; then
 AC_ARG_ENABLE(alsamixer,
-     [  --disable-alsamixer     Disable alsamixer compilation],
+     AS_HELP_STRING([--disable-alsamixer], [Disable alsamixer compilation]),
      [case "${enableval}" in
        yes) alsamixer=true ;;
        no)  alsamixer=false ;;
@@ -87,7 +87,7 @@ AM_CONDITIONAL(ALSAMIXER, test x$alsamixer = xtrue)
 
 dnl Disable alsaconf
 AC_ARG_ENABLE(alsaconf,
-     [  --disable-alsaconf      Disable alsaconf packaging],
+     AS_HELP_STRING([--disable-alsaconf], [Disable alsaconf packaging]),
      [case "${enableval}" in
        yes) alsaconf=true ;;
        no)  alsaconf=false ;;
@@ -97,7 +97,7 @@ AM_CONDITIONAL(ALSACONF, test x$alsaconf = xtrue)
 
 dnl Disable alsaloop
 AC_ARG_ENABLE(alsaloop,
-     [  --disable-alsaloop      Disable alsaloop packaging],
+     AS_HELP_STRING([--disable-alsaloop], [Disable alsaloop packaging]),
      [case "${enableval}" in
        yes) alsaloop=true ;;
        no)  alsaloop=false ;;
@@ -124,7 +124,7 @@ dnl Checks for header files.
 AC_HEADER_STDC
 if test x$alsamixer = xtrue; then
   AC_ARG_WITH(curses,
-    [  --with-curses libname   Specify the curses library to use (default=auto)],
+    AS_HELP_STRING([--with-curses=libname], [Specify the curses library to use (default=auto)]),
     curseslib="$withval",
     curseslib="auto")
   CURSESLIBDIR=""
@@ -283,7 +283,7 @@ mydatadir="$dir/alsa"
 AC_DEFINE_UNQUOTED(DATADIR, "$mydatadir", [directory containing alsa configuration])
 
 AC_ARG_WITH(testsound,
-  [  --with-testsound=file        give the path of test sound file for alsaconf],
+  AS_HELP_STRING([--with-testsound=file], [give the path of test sound file for alsaconf]),
   TESTSOUND="$withval",
   TESTSOUND="$dir/test.wav")
 AC_SUBST(TESTSOUND)
Signature · 6 lines
1.7.8.5

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel