On Thu, 14 Nov 2024 at 06:45, Chet Ramey <chet.ra...@case.edu> wrote:

> On 11/12/24 8:17 PM, Grisha Levit wrote:
> > I'm not sure if this is the most idiomatic way to write the rule, but
> > if a libintl.h is generated, it needs to make it into the installed
> > headers directory to allow loadables to build.
>

AFAIK examples/loadables/Makefile.in already defines INTL_INC = @INTL_INC@,
so it seems to me that configure merely needs to set that to either
INTL_SRCDIR (if supplied) or INTL_LIBDIR (if built), or to whatever
external version is being used.

I assume you mean third-party loadables, right? None of the examples use
> any of the gettext or locale functions in libintl.
>

My option-handling revamp includes a new example loadable that does use
gettext, for the help text that accompanies a shopt/set-o option that is
defined by the loadable. (Since this would be a new capability, it seemed
like a good idea to demonstrate it.)

-Martin

Reply via email to