Hi,

On Wed, 12 Apr 2023, at 12:21, Petr Pisar wrote:
> I noticed that indent-2.2.13 stopped printing localized messages:

> That's because setlocale() is not called in src/indent.c:
>
>     #if defined (HAVE_SETLOCALE)
>         setlocale(LC_ALL, "");
>     #endif
>
> because HAVE_SETLOCALE is not defined in config.h.
>
> It seems that configure.ac ported to autoconf-2.71
> (AC_CHECK_INCLUDES_DEFAULT?) stopped checking for setlocale() and defining the
> macro. Actually diffing config.h between 2.2.12 and 2.2.13, both generated
> with the same autoconf, shows plenty of removed macros. So HAVE_SETLOCALE
> might be not the only missing feature.

Thanks. That's concerning, I'll have a look.

-- 
Cheers,
  Andrej

Reply via email to