mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 23:35:50 +00:00
96ca1e164b
* lib/setlocale.c: Include <stdcountof.h>. (setlocale_unixlike, get_main_locale_with_same_language, get_main_locale_with_same_territory, setlocale_improved): Use countof. * modules/setlocale (Depends-on): Add stdcountof-h.
42 lines
772 B
Plaintext
42 lines
772 B
Plaintext
Description:
|
|
setlocale() function: set the current locale.
|
|
|
|
Files:
|
|
lib/setlocale.c
|
|
m4/setlocale.m4
|
|
|
|
Depends-on:
|
|
locale-h
|
|
stdcountof-h
|
|
streq
|
|
setlocale-fixes [test $NEED_SETLOCALE_IMPROVED = 1]
|
|
localename [test $NEED_SETLOCALE_IMPROVED = 1]
|
|
localename-environ [test $NEED_SETLOCALE_IMPROVED = 1]
|
|
strnul [test $NEED_SETLOCALE_IMPROVED = 1]
|
|
setlocale-null [test $NEED_SETLOCALE_MTSAFE = 1]
|
|
|
|
configure.ac:
|
|
gl_FUNC_SETLOCALE
|
|
gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE], [test $REPLACE_SETLOCALE = 1])
|
|
AM_COND_IF([GL_COND_OBJ_SETLOCALE], [
|
|
gl_PREREQ_SETLOCALE
|
|
])
|
|
gl_LOCALE_MODULE_INDICATOR([setlocale])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_SETLOCALE
|
|
lib_SOURCES += setlocale.c
|
|
endif
|
|
|
|
Include:
|
|
<locale.h>
|
|
|
|
Link:
|
|
$(SETLOCALE_LIB)
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|