From 956abf969ca4e8f01403ae39991e42f0ad3c27cb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 15 Jun 2008 18:57:13 +0200 Subject: address root cause of compilation failures: 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. --- m4/jm-macros.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'm4/jm-macros.m4') diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 9680e95c5..062737b09 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -1,4 +1,4 @@ -#serial 106 -*- autoconf -*- +#serial 107 -*- autoconf -*- dnl Misc type-related macros for coreutils. @@ -49,6 +49,9 @@ AC_DEFUN([coreutils_MACROS], # 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 \ -- cgit v1.2.3-54-g00ecf