We're updating the issue view to help you get more done. 

[PATCH] Use Quadrigraphs to Get Consistent Configure Help Output

Description

Use quadrigraphs to get desired default help output behavior that
matches default autoconf --enable and --with options.

Signed-off-by: Grant Erickson <gerickson@nuovations.com>

Also submitted via ICU TRAC.

source/configure.in | 36 ++++++++++++++++++------------------ #files changed, 18 insertions, 18 deletions

diff --git a/source/configure.in b/source/configure.in
index e799dea..524324a 100644
— a/source/configure.in
+++ b/source/configure.in
@@ -109,7 +109,7 @@ dnl Check whether to build shared libraries
AC_MSG_CHECKING([to build shared libraries|whether])
enabled=no
AC_ARG_ENABLE(shared,

  • [ --enable-shared build shared libraries [default=yes]],
    + [ --enable-shared build shared libraries @<:@default=yes@:>@],
    [ case "${enableval}" in
    yes|"") enabled=yes; ENABLE_SHARED=YES ;;
    no);;
    @@ -124,7 +124,7 @@ dnl Check whether to build static libraries
    AC_MSG_CHECKING([to build static libraries|whether])
    enabled=no
    AC_ARG_ENABLE(static,

  • [ --enable-static build static libraries [default=no]],
    + [ --enable-static build static libraries @<:@default=no@:>@],
    [ case "${enableval}" in
    yes|"") enabled=yes; ENABLE_STATIC=YES ;;
    no) ;;
    @@ -139,7 +139,7 @@ AC_MSG_CHECKING([to build debug libraries|whether])
    enabled=no
    ENABLE_DEBUG=0
    AC_ARG_ENABLE(debug,

  • [ --enable-debug build debug libraries [default=no]],
    + [ --enable-debug build debug libraries @<:@default=no@:>@],
    [ case "${enableval}" in
    yes|"") enabled=yes; ENABLE_DEBUG=1 ;;
    *) ;;
    @@ -153,7 +153,7 @@ AC_MSG_CHECKING([to build release libraries|whether])
    enabled=yes
    ENABLE_RELEASE=1
    AC_ARG_ENABLE(release,

  • [ --enable-release build release libraries [default=yes]],
    + [ --enable-release build release libraries @<:@default=yes@:>@],
    [ case "${enableval}" in
    no) enabled=no; ENABLE_RELEASE=0 ;;
    *) ;;
    @@ -167,7 +167,7 @@ AC_MSG_CHECKING([to enable draft APIs|whether])
    enabled=yes
    U_DEFAULT_SHOW_DRAFT=1
    AC_ARG_ENABLE(draft,

  • [ --enable-draft enable draft APIs [default=yes]],
    + [ --enable-draft enable draft APIs @<:@default=yes@:>@],
    [ case "${enableval}" in
    no) enabled=no; U_DEFAULT_SHOW_DRAFT=0 ;;
    *) ;;
    @@ -238,7 +238,7 @@ AC_MSG_CHECKING([to enable renaming of symbols|whether])
    enabled=yes
    U_DISABLE_RENAMING=0
    AC_ARG_ENABLE(renaming,

  • [ --enable-renaming add a version suffix to symbols [default=yes]],
    + [ --enable-renaming add a version suffix to symbols @<:@default=yes@:>@],
    [ case "${enableval}" in
    yes|"") enabled=yes ;;
    no) enabled=no; U_DISABLE_RENAMING=1 ;;
    @@ -252,7 +252,7 @@ AC_MSG_CHECKING([to enable function and data tracing|whether])
    enabled=yes
    U_ENABLE_TRACING=0
    AC_ARG_ENABLE(tracing,

  • [ --enable-tracing enable function and data tracing [default=no]],
    + [ --enable-tracing enable function and data tracing @<:@default=no@:>@],
    [ case "${enableval}" in
    yes|"") enabled=yes ;;
    no) enabled=no; U_ENABLE_TRACING=0 ;;
    @@ -264,7 +264,7 @@ AC_SUBST(U_ENABLE_TRACING)


dnl Check whether to use the evil rpath or not
AC_ARG_ENABLE(rpath,

  • [ --enable-rpath use rpath when linking [is only if necessary|default]],
    + [ --enable-rpath use rpath when linking @<:@default is only if necessary@:>@],
    [ case "${enableval}" in
    yes|"") ENABLE_RPATH=YES ;;
    no) ;;
    @@ -295,7 +295,7 @@ threads=true


dnl Enable/disable threads
AC_ARG_ENABLE(threads,
- [ --enable-threads build ICU with thread safety [default=yes]],
+ [ --enable-threads build ICU with thread safety @<:@default=yes@:>@],
["${enableval}" in
yes) threads=true ;;
no) threads=false ;;
@@ -378,7 +378,7 @@ fi
AC_SUBST(ICU_USE_THREADS)

AC_ARG_ENABLE(weak-threads,
- [ --enable-weak-threads weakly reference the threading library [default=no|case]],
+ [ --enable-weak-threads weakly reference the threading library @<:@default=no@:>@],
["${enableval}" in
yes)
LIB_THREAD="${LIBS%${OLD_LIBS}}"
@@ -464,7 +464,7 @@ fi
AC_SUBST(U_HAVE_INTTYPES_H)

AC_ARG_WITH(iostream,
- [ --with-iostream=version specify the version of iostream to use (none, old, std, auto) [default=auto|case]],
+ [ --with-iostream=version specify the version of iostream to use (none, old, std, auto) @<:@default=auto@:>@],
["${withval}" in
none) streams=none ;;
old) streams=198506 ;;
@@ -894,7 +894,7 @@ AC_SUBST(U_CHECK_UTF16_STRING)

dnl Enable/disable extras
AC_ARG_ENABLE(extras,
- [ --enable-extras build ICU extras [default=yes|case]],
+ [ --enable-extras build ICU extras @<:@default=yes@:>@],
["${enableval}" in
yes) extras=true ;;
no) extras=false ;;
@@ -903,7 +903,7 @@ AC_ARG_ENABLE(extras,
extras=true)
ICU_CONDITIONAL(EXTRAS, test "$extras" = true)
AC_ARG_ENABLE(icuio,
- [ --enable-icuio build ICU's icuio library [default=yes|case]],
+ [ --enable-icuio build ICU's icuio library @<:@default=yes@:>@],
["${enableval}" in
yes) icuio=true ;;
no) icuio=false ;;
@@ -914,7 +914,7 @@ ICU_CONDITIONAL(ICUIO, test "$icuio" = true)

dnl Enable/disable layout
AC_ARG_ENABLE(layout,
- [ --enable-layout build ICU's layout library [default=yes|case]],
+ [ --enable-layout build ICU's layout library @<:@default=yes@:>@],
["${enableval}" in
yes) layout=true ;;
no) layout=false ;;
@@ -924,7 +924,7 @@ AC_ARG_ENABLE(layout,
ICU_CONDITIONAL(LAYOUT, test "$layout" = true)

AC_ARG_WITH(data-packaging,
- [ --with-data-packaging=type specify how to package ICU data (files, archive, library, auto) [default=auto|case]],
+ [ --with-data-packaging=type specify how to package ICU data (files, archive, library, auto) @<:@default=auto@:>@],
["${withval}" in
files|archive|library) datapackaging=$withval ;;
auto) datapackaging=$withval ;;
@@ -970,7 +970,7 @@ AC_SUBST(DATA_PACKAGING_MODE)
dnl Sets a library suffix
AC_MSG_CHECKING([for a library suffix to use|case])
AC_ARG_WITH(library-suffix,
- [ --with-library-suffix=suffix tag a suffix to the library names [default=]],
+ [ --with-library-suffix=suffix tag a suffix to the library names @<:@default=@:>@],
[ICULIBSUFFIX="${withval}"],
[ICULIBSUFFIX=])
msg=$ICULIBSUFFIX
@@ -993,7 +993,7 @@ AC_SUBST(ICULIBSUFFIXCNAME)

dnl Enable/disable tests
AC_ARG_ENABLE(tests,
- [ --enable-tests build ICU tests [default=yes]],
+ [ --enable-tests build ICU tests @<:@default=yes@:>@],
["${enableval}" in
yes) tests=true ;;
no) tests=false ;;
@@ -1004,7 +1004,7 @@ ICU_CONDITIONAL(TESTS, test "$tests" = true)

dnl Enable/disable samples
AC_ARG_ENABLE(samples,
- [ --enable-samples build ICU samples [default=yes|case]
+ [ --enable-samples build ICU samples @<:@default=yes@:>@

Additionally, the variable FORCE_LIBS may be set before calling configure.
If set, it will REPLACE any automatic list of libraries.],

1.6.1.2

Status

Assignee

Steven R. Loomis

Reporter

TracBot

Reviewer

None

Time Needed

None

Start date

None

Components

Priority

assess