summaryrefslogtreecommitdiff
path: root/gnulib-m4/localename.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-m4/localename.m4')
-rw-r--r--gnulib-m4/localename.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/gnulib-m4/localename.m4 b/gnulib-m4/localename.m4
index bb42516..a0e1367 100644
--- a/gnulib-m4/localename.m4
+++ b/gnulib-m4/localename.m4
@@ -1,5 +1,5 @@
-# localename.m4 serial 2
-dnl Copyright (C) 2007, 2009-2017 Free Software Foundation, Inc.
+# localename.m4 serial 3
+dnl Copyright (C) 2007, 2009-2018 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -8,6 +8,7 @@ AC_DEFUN([gl_LOCALENAME],
[
AC_REQUIRE([gt_LC_MESSAGES])
AC_REQUIRE([gt_INTL_MACOSX])
+ AC_CHECK_HEADERS_ONCE([langinfo.h])
AC_CHECK_FUNCS([setlocale uselocale])
dnl Solaris 12 provides getlocalename_l, while Illumos doesn't have
dnl it nor the equivalent.