From: Jim Meyering Date: Sun, 15 Jun 2008 16:57:13 +0000 (+0200) Subject: address root cause of compilation failures: X-Git-Tag: v7.0~175 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=956abf969ca4e8f01403ae39991e42f0ad3c27cb;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 9680e95c58..062737b09d 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 \