The affected code wasn't even being compiled on my system,
because HAVE_NL_LANGINFO was not defined. On other systems, where
vasnprintf.m4 determines it needs %A or %a replacement support, it
_would_ check for nl_langinfo, and expose the compilation failure.
* m4/jm-macros.m4: Check for nl_langinfo, required by sort.c.
-#serial 106 -*- autoconf -*-
+#serial 107 -*- autoconf -*-
dnl Misc type-related macros for coreutils.
# Used by install.c.
AC_CHECK_FUNCS_ONCE([matchpathcon_init_prefix])
+ # Used by sort.c.
+ AC_CHECK_FUNCS_ONCE([nl_langinfo])
+
AC_CHECK_FUNCS_ONCE( \
endgrent \
endpwent \