mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
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.
This commit is contained in:
parent
b9ace68613
commit
30c5982a95
2 changed files with 3 additions and 4 deletions
|
@ -751,9 +751,8 @@ AC_CHECK_HEADERS([assert.h crt_externs.h])
|
|||
# truncate - not in mingw
|
||||
# isblank - available as a GNU extension or in C99
|
||||
# _NSGetEnviron - Darwin specific
|
||||
# strcoll_l, newlocale - GNU extensions (glibc), also available on Darwin
|
||||
# strcoll_l, newlocale, uselocale, utimensat - POSIX.1-2008
|
||||
# fork - unavailable on Windows
|
||||
# utimensat - posix.1-2008
|
||||
# sched_getaffinity, sched_setaffinity - GNU extensions (glibc)
|
||||
# sendfile - non-POSIX, found in glibc
|
||||
#
|
||||
|
@ -766,7 +765,7 @@ AC_CHECK_FUNCS([DINFINITY DQNAN cexp chsize clog clog10 ctermid \
|
|||
strdup system usleep atexit on_exit chown link fcntl ttyname getpwent \
|
||||
getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp \
|
||||
index bcopy memcpy rindex truncate unsetenv isblank _NSGetEnviron \
|
||||
strcoll strcoll_l newlocale utimensat sched_getaffinity \
|
||||
strcoll strcoll_l newlocale uselocale utimensat sched_getaffinity \
|
||||
sched_setaffinity sendfile])
|
||||
|
||||
# Reasons for testing:
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue