In GNU gettext, I see these autoconf warnings: configure.ac:92: warning: gt_LOCALE_JA is m4_require'd but not m4_defun'd gnulib-m4/mbrtowc.m4:156: gl_MBRTOWC_INCOMPLETE_STATE is expanded from... gnulib-m4/gnulib-comp.m4:85: gl_INIT is expanded from... configure.ac:92: the top level configure.ac:92: warning: gt_LOCALE_ZH_CN is m4_require'd but not m4_defun'd gnulib-m4/mbrtowc.m4:232: gl_MBRTOWC_SANITYCHECK is expanded from... gnulib-m4/gnulib-comp.m4:85: gl_INIT is expanded from... configure.ac:92: the top level
configure.ac:74: warning: gt_LOCALE_JA is m4_require'd but not m4_defun'd gnulib-m4/mbrtowc.m4:156: gl_MBRTOWC_INCOMPLETE_STATE is expanded from... gnulib-m4/gnulib-comp.m4:236: lts_INIT is expanded from... configure.ac:74: the top level configure.ac:74: warning: gt_LOCALE_ZH_CN is m4_require'd but not m4_defun'd gnulib-m4/mbrtowc.m4:232: gl_MBRTOWC_SANITYCHECK is expanded from... gnulib-m4/gnulib-comp.m4:236: lts_INIT is expanded from... configure.ac:74: the top level It's caused by these gl_MBSTATE_T_BROKEN invocations: modules/c32swidth:19:AC_REQUIRE([gl_MBSTATE_T_BROKEN]) modules/mbszero:15:gl_MBSTATE_T_BROKEN and the invocation chains gl_MBSTATE_T_BROKEN -> gl_MBRTOWC_SANITYCHECK -> gt_LOCALE_ZH_CN gl_MBSTATE_T_BROKEN -> gl_MBRTOWC_INCOMPLETE_STATE -> gt_LOCALE_JA This patch fixes it. 2023-07-19 Bruno Haible <[email protected]> c32swidth, mbszero: Fix file list. * modules/c32swidth (Files): Add locale-ja.m4, locale-zh.m4, codeset.m4. * modules/mbszero (Files): Likewise. diff --git a/modules/c32swidth b/modules/c32swidth index 4861b548de..70891d9fb1 100644 --- a/modules/c32swidth +++ b/modules/c32swidth @@ -5,6 +5,9 @@ a size-bounded 32-bit wide string. Files: lib/c32swidth.c lib/wcswidth-impl.h +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 Depends-on: uchar diff --git a/modules/mbszero b/modules/mbszero index 002fa75014..743e539aab 100644 --- a/modules/mbszero +++ b/modules/mbszero @@ -5,6 +5,9 @@ Files: lib/mbszero.c m4/mbstate_t.m4 m4/mbrtowc.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 m4/musl.m4 Depends-on:
