The existing implementation was broken: Even if the user selected the 'i18n' option, libintl would NOT be included if there was a pre-existing ngettext(). I rewrote it so that libintl would get pulled in if 'i18n' was specified OR ngettext() was missing.
However, I now realize that this can be simplified so that libintl is used IFF 'i18n' is present. The ENABLE_NLS macro would then be set to 1 if libintl was found OR if ngettext() was found elsewhere. I shall prepare a streamlined patch. > -----Original Message----- > From: Allan McRae <[email protected]> > Sent: Monday, December 12, 2022 17:45 > I have no idea what change you are trying to make with ngettext and i18n. > > Allan
