]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Check for getlocalename_l
authorDaiki Ueno <ueno@gnu.org>
Fri, 10 Jul 2015 01:55:31 +0000 (10:55 +0900)
committerDaiki Ueno <ueno@gnu.org>
Fri, 10 Jul 2015 01:55:31 +0000 (10:55 +0900)
* intl.m4 (gt_INTL_SUBDIR_CORE): Check also for getlocalename_l.
Bump serial to 29.

gettext-runtime/m4/ChangeLog
gettext-runtime/m4/intl.m4

index 4a2cbe295422fe255da5f707d057c4ce9fcc6768..6b9d4df4b5403d3ee19b381f4c74d6b2b59f01af 100644 (file)
@@ -1,3 +1,8 @@
+2015-07-10  Daiki Ueno  <ueno@gnu.org>
+
+       * intl.m4 (gt_INTL_SUBDIR_CORE): Check also for getlocalename_l.
+       Bump serial to 29.
+
 2014-12-24  Daiki Ueno  <ueno@gnu.org>
 
        * gettext 0.19.4 released.
index 0c29ad0df8e312a12bade9faa525bbe6acc542be..70d9a9e5618bac1e8c00ef4dc8e2a13886af5e5c 100644 (file)
@@ -1,4 +1,4 @@
-# intl.m4 serial 28 (gettext-0.19)
+# intl.m4 serial 29 (gettext-0.19)
 dnl Copyright (C) 1995-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -232,6 +232,12 @@ AC_DEFUN([gt_INTL_SUBDIR_CORE],
     stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \
     argz_stringify argz_next __fsetlocking])
 
+  dnl Solaris 12 provides getlocalename_l, while Illumos doesn't have
+  dnl it nor the equivalent.
+  if test $ac_cv_func_uselocale = yes; then
+    AC_CHECK_FUNCS([getlocalename_l])
+  fi
+
   dnl Use the *_unlocked functions only if they are declared.
   dnl (because some of them were defined without being declared in Solaris
   dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built