]> Savannah Git Hosting - gnulib.git/commit
localename: fix link error on Illumos
authorDaiki Ueno <ueno@gnu.org>
Tue, 7 Jul 2015 06:36:43 +0000 (15:36 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 7 Jul 2015 06:44:01 +0000 (15:44 +0900)
commit9b6679dcac7631a9d75adfbcfdfb9004362f3d18
tree121bd816d136cc9d521f8c16794170d245486cdf
parentb3b5ecd02622f9d62959227641085551277dfc26
localename: fix link error on Illumos

Illumos defines __sun, but does not have getlocalename_l nor the
equivalent.  This partially reverts commit 387c214.
* m4/localename.m4 (gl_LOCALENAME): Check if getlocalename_l is
available, as well as uselocale.
* lib/localename.c [HAVE_USELOCALE && __sun]: Don't fallback to
use getlocalename_l if it is not available.
ChangeLog
lib/localename.c
m4/localename.m4