summaryrefslogtreecommitdiff
path: root/libguile/i18n.c
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-10-14 20:36:11 -0400
committerMark H Weaver <mhw@netris.org>2014-10-14 20:36:19 -0400
commit30c5982a9548a0ca0ea46111beb490f06d74a40a (patch)
tree78bb0b042c77d2c82a0152d29337a2c62cf3a80b /libguile/i18n.c
parentb9ace68613395fda26f3f3d7dc2ac9bc52cd7f2a (diff)
downloadguile-30c5982a9548a0ca0ea46111beb490f06d74a40a.tar.gz
i18n: Add HAVE_USELOCALE as a requirement for USE_GNU_LOCALE_API.
* configure.ac: Check for uselocale. * libguile/i18n.c: Add HAVE_USELOCALE to the list of requirements before defining USE_GNU_LOCALE_API.
Diffstat (limited to 'libguile/i18n.c')
-rw-r--r--libguile/i18n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/i18n.c b/libguile/i18n.c
index c6b9b845e..f0e344329 100644
--- a/libguile/i18n.c
+++ b/libguile/i18n.c
@@ -40,7 +40,7 @@
#include <unicase.h>
#include <unistr.h>
-#if (defined HAVE_NEWLOCALE) && (defined HAVE_STRCOLL_L)
+#if defined HAVE_NEWLOCALE && defined HAVE_STRCOLL_L && defined HAVE_USELOCALE
/* The GNU thread-aware locale API is documented in ``Thread-Aware Locale
Model, a Proposal'', by Ulrich Drepper: