Oops, there was a small bug in this patch. Corrected like this:
2023-04-08 Bruno Haible <br...@clisp.org> vasnwprintf-posix: Really work around %La bug in glibc 2.15 and Haiku. * m4/vasnprintf.m4 (gl_PREREQ_VASNWPRINTF): Fix a copy&paste bug. diff --git a/m4/vasnprintf.m4 b/m4/vasnprintf.m4 index ca14ce49b4..639b29a1f3 100644 --- a/m4/vasnprintf.m4 +++ b/m4/vasnprintf.m4 @@ -115,7 +115,7 @@ AC_DEFUN_ONCE([gl_PREREQ_VASNWPRINTF], ;; esac gl_SWPRINTF_DIRECTIVE_LA - case "$gl_cv_func_printf_directive_a" in + case "$gl_cv_func_swprintf_directive_la" in *yes) ;; *) AC_DEFINE([NEED_WPRINTF_DIRECTIVE_LA], [1],