On Thu, Nov 2, 2023 at 9:43 AM Arsen Arsenović <ar...@aarsen.me> wrote:
>
> Morning!
>
> This patch is a rebase and slight wording tweak of
> https://inbox.sourceware.org/20231006140501.3370874-1-ar...@aarsen.me
>
> Changes since v2:
> - Elaborate on the libintl requirement on non-glibc hosts, per Andrews
>   request
>
> Range diff since v2 (since it seems sufficiently readable here):
> @@ gcc/doc/install.texi: which lets GCC output diagnostics in languages
>   English.  Native Language Support is enabled by default if not doing a
>   canadian cross build.  The @option{--disable-nls} option disables NLS@.
>
> ++Note that this functionality requires either libintl (provided by GNU
> ++gettext) or C standard library that contains support for gettext (such
> ++as the GNU C Library).
> ++@xref{with-included-gettext,,--with-included-gettext} for more
> ++information on the conditions required to get gettext support.
> ++
>  +@item --with-libintl-prefix=@var{dir}
>  +@itemx --without-libintl-prefix
>  +Searches for libintl in @file{@var{dir}/include} and
> @@ gcc/doc/install.texi: which lets GCC output diagnostics in languages
>  +Specifies the type of library to search for when looking for libintl.
>  +@var{type} can be one of @code{auto}, @code{static} or @code{shared}.
>  +
> ++@anchor{with-included-gettext}
>   @item --with-included-gettext
>
>
> OK for trunk?  (granted that a regstrap + hand-test for working
> localization passes - build's ongoing asynchronously)

OK on Monday if there are no objections until then.  Please also
sync with the binutils tree then.

Thanks,
Richard.

> Thanks in advance, have a lovely day.
>
> Arsen Arsenović (2):
>   intl: remove, in favor of out-of-tree gettext
>   *: add modern gettext
>
>  .gitignore                     |    1 +
>  Makefile.def                   |   72 +-
>  Makefile.in                    | 1612 +++----
>  config/gettext-sister.m4       |   35 +-
>  config/gettext.m4              |  357 +-
>  config/iconv.m4                |  313 +-
>  config/intlmacosx.m4           |   69 +
>  configure                      |   44 +-
>  configure.ac                   |   44 +-
>  contrib/download_prerequisites |    2 +
>  contrib/prerequisites.md5      |    1 +
>  contrib/prerequisites.sha512   |    1 +
>  gcc/Makefile.in                |    8 +-
>  gcc/aclocal.m4                 |    4 +
>  gcc/configure                  | 2001 +++++++-
>  gcc/doc/install.texi           |   72 +-
>  intl/ChangeLog                 |  306 --
>  intl/Makefile.in               |  264 -
>  intl/README                    |   21 -
>  intl/VERSION                   |    1 -
>  intl/aclocal.m4                |   33 -
>  intl/bindtextdom.c             |  374 --
>  intl/config.h.in               |  280 --
>  intl/config.intl.in            |   12 -
>  intl/configure                 | 8288 --------------------------------
>  intl/configure.ac              |  108 -
>  intl/dcgettext.c               |   59 -
>  intl/dcigettext.c              | 1238 -----
>  intl/dcngettext.c              |   60 -
>  intl/dgettext.c                |   60 -
>  intl/dngettext.c               |   62 -
>  intl/eval-plural.h             |  114 -
>  intl/explodename.c             |  192 -
>  intl/finddomain.c              |  195 -
>  intl/gettext.c                 |   64 -
>  intl/gettextP.h                |  224 -
>  intl/gmo.h                     |  148 -
>  intl/hash-string.h             |   59 -
>  intl/intl-compat.c             |  151 -
>  intl/l10nflist.c               |  453 --
>  intl/libgnuintl.h              |  341 --
>  intl/loadinfo.h                |  156 -
>  intl/loadmsgcat.c              | 1322 -----
>  intl/localcharset.c            |  398 --
>  intl/localcharset.h            |   42 -
>  intl/locale.alias              |   78 -
>  intl/localealias.c             |  419 --
>  intl/localename.c              |  772 ---
>  intl/log.c                     |  104 -
>  intl/ngettext.c                |   68 -
>  intl/osdep.c                   |   24 -
>  intl/plural-config.h           |    1 -
>  intl/plural-exp.c              |  156 -
>  intl/plural-exp.h              |  132 -
>  intl/plural.c                  | 1540 ------
>  intl/plural.y                  |  434 --
>  intl/relocatable.c             |  439 --
>  intl/relocatable.h             |   67 -
>  intl/textdomain.c              |  142 -
>  libcpp/aclocal.m4              |    5 +
>  libcpp/configure               | 2139 ++++++++-
>  libstdc++-v3/configure         |  727 +--
>  62 files changed, 5467 insertions(+), 21441 deletions(-)
>  create mode 100644 config/intlmacosx.m4
>  delete mode 100644 intl/ChangeLog
>  delete mode 100644 intl/Makefile.in
>  delete mode 100644 intl/README
>  delete mode 100644 intl/VERSION
>  delete mode 100644 intl/aclocal.m4
>  delete mode 100644 intl/bindtextdom.c
>  delete mode 100644 intl/config.h.in
>  delete mode 100644 intl/config.intl.in
>  delete mode 100755 intl/configure
>  delete mode 100644 intl/configure.ac
>  delete mode 100644 intl/dcgettext.c
>  delete mode 100644 intl/dcigettext.c
>  delete mode 100644 intl/dcngettext.c
>  delete mode 100644 intl/dgettext.c
>  delete mode 100644 intl/dngettext.c
>  delete mode 100644 intl/eval-plural.h
>  delete mode 100644 intl/explodename.c
>  delete mode 100644 intl/finddomain.c
>  delete mode 100644 intl/gettext.c
>  delete mode 100644 intl/gettextP.h
>  delete mode 100644 intl/gmo.h
>  delete mode 100644 intl/hash-string.h
>  delete mode 100644 intl/intl-compat.c
>  delete mode 100644 intl/l10nflist.c
>  delete mode 100644 intl/libgnuintl.h
>  delete mode 100644 intl/loadinfo.h
>  delete mode 100644 intl/loadmsgcat.c
>  delete mode 100644 intl/localcharset.c
>  delete mode 100644 intl/localcharset.h
>  delete mode 100644 intl/locale.alias
>  delete mode 100644 intl/localealias.c
>  delete mode 100644 intl/localename.c
>  delete mode 100644 intl/log.c
>  delete mode 100644 intl/ngettext.c
>  delete mode 100644 intl/osdep.c
>  delete mode 100644 intl/plural-config.h
>  delete mode 100644 intl/plural-exp.c
>  delete mode 100644 intl/plural-exp.h
>  delete mode 100644 intl/plural.c
>  delete mode 100644 intl/plural.y
>  delete mode 100644 intl/relocatable.c
>  delete mode 100644 intl/relocatable.h
>  delete mode 100644 intl/textdomain.c
>
> --
> 2.42.0
>

Reply via email to