Require ngettext in test of system gettext implementation
authorAlan Modra <amodra@gmail.com>
Tue, 7 Nov 2017 04:54:01 +0000 (15:24 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 7 Nov 2017 04:54:01 +0000 (15:24 +1030)
commit2d041117f1ee47982a2d8a2a9801f2906df2d91f
tree2ca2957253ad56dc167fa1e15aea016de8595408
parent0ed1b4890a9cc4be7e24416a37eb14638f5adf7e
Require ngettext in test of system gettext implementation

gcc currently uses ngettext in a number of places (gcc/cp/pt.c,
gcc/diagnostic.c, gcc/collect2.c).  Apparently there are (or used to
be) gettext implementations that lack ngettext.  See config/gettext.m4.

This patch arranges for intl/ to be compiled when the system gettext
lacks ngettext.

* configure.ac: Invoke AM_GNU_GETTEXT with need_ngettext.
* configure: Regenerate.

From-SVN: r254486
intl/ChangeLog
intl/configure
intl/configure.ac