]> Savannah Git Hosting - gnulib.git/commitdiff
nl_langinfo: Support abbreviated alternative month names on FreeBSD.
authorBruno Haible <bruno@clisp.org>
Mon, 24 Feb 2025 10:12:23 +0000 (11:12 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 24 Feb 2025 10:12:23 +0000 (11:12 +0100)
* m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): If HAVE_LANGINFO_ABALTMON
is 0, set REPLACE_NL_LANGINFO to 1.

ChangeLog
m4/nl_langinfo.m4

index 8924427ae9e844c32c73f50383919438aaa0d2a3..ab4ae02c9071d26ad9c00b6a37b219a7fde82cb9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-02-24  Bruno Haible  <bruno@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.
+
 2025-02-24  Bruno Haible  <bruno@clisp.org>
 
        getlocalename_l-unsafe: Fix compilation error on OpenBSD, AIX.
index eef21ab8d5fccdb297891b1e914de589ac2be288..aeee0c1e36af0afd7d6d1cbd6a59a628c5093161 100644 (file)
@@ -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