There is also a unit test failure on FreeBSD 14. The cause is that
the override rpl_nl_langinfo is not activated. This patch fixes it.


2025-02-24  Bruno Haible  <br...@clisp.org>

        nl_langinfo: Support abbreviated alternative month names on FreeBSD.
        * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): If HAVE_LANGINFO_ABALTMON
        is 0, set REPLACE_NL_LANGINFO to 1.

diff --git a/m4/nl_langinfo.m4 b/m4/nl_langinfo.m4
index eef21ab8d5..aeee0c1e36 100644
--- a/m4/nl_langinfo.m4
+++ b/m4/nl_langinfo.m4
@@ -1,5 +1,5 @@
 # nl_langinfo.m4
-# serial 11
+# serial 12
 dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -51,6 +51,7 @@ AC_DEFUN([gl_FUNC_NL_LANGINFO]
     if test $HAVE_LANGINFO_CODESET = 1 \
        && test $HAVE_LANGINFO_T_FMT_AMPM = 1 \
        && test $HAVE_LANGINFO_ALTMON = 1 \
+       && test $HAVE_LANGINFO_ABALTMON = 1 \
        && test $HAVE_LANGINFO_ERA = 1 \
        && test $FUNC_NL_LANGINFO_YESEXPR_WORKS = 1 \
        && test $NL_LANGINFO_MTSAFE = 1; then




Reply via email to