Skip to content

Commit

Permalink
nl_langinfo: Support abbreviated alternative month names on FreeBSD.
Browse files Browse the repository at this point in the history
* m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): If HAVE_LANGINFO_ABALTMON
is 0, set REPLACE_NL_LANGINFO to 1.
  • Loading branch information
bhaible committed Feb 24, 2025
1 parent a47068d commit 931d2b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2025-02-24 Bruno Haible <[email protected]>

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 <[email protected]>

getlocalename_l-unsafe: Fix compilation error on OpenBSD, AIX.
Expand Down
3 changes: 2 additions & 1 deletion m4/nl_langinfo.m4
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 931d2b1

Please sign in to comment.