summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-06-15 18:57:13 +0200
committerJim Meyering <meyering@redhat.com>2008-06-15 18:57:13 +0200
commit956abf969ca4e8f01403ae39991e42f0ad3c27cb (patch)
tree5f5a28f82fbdb34b72d2a1614841ccde53e194b3 /m4
parentb1db942595c77618bf304589c5d8a1283e2ed61b (diff)
downloadcoreutils-956abf969ca4e8f01403ae39991e42f0ad3c27cb.tar.xz
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.
Diffstat (limited to 'm4')
-rw-r--r--m4/jm-macros.m45
1 files changed, 4 insertions, 1 deletions
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 \