doc: Remove references to POSIX 202x.
[gnulib.git] / modules / locale
blobdf0237723d712f76bde3929d5275f0abb1ae0aa5
1 Description:
2 A <locale.h> that conforms to POSIX.
4 Files:
5 lib/locale.in.h
6 m4/locale_h.m4
8 Depends-on:
9 extensions
10 gen-header
11 include_next
12 snippet/arg-nonnull
13 snippet/c++defs
14 snippet/warn-on-use
15 stddef
17 configure.ac:
18 gl_LOCALE_H
19 gl_LOCALE_H_REQUIRE_DEFAULTS
20 AC_PROG_MKDIR_P
22 Makefile.am:
23 BUILT_SOURCES += locale.h
25 # We need the following in order to create <locale.h> when the system
26 # doesn't have one that provides all definitions.
27 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
28 @NMD@   $(AM_V_GEN)$(MKDIR_P) '%reldir%'
29         $(gl_V_at)$(SED_HEADER_STDOUT) \
30               -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
31               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
32               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
33               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
34               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
35               -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
36               -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
37               -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GNULIB_SETLOCALE_NULL)/g' \
38               -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
39               -e 's/@''GNULIB_LOCALENAME_UNSAFE''@/$(GNULIB_LOCALENAME_UNSAFE)/g' \
40               -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \
41               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
42               -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \
43               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
44               -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
45               -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
46               -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \
47               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
48               -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \
49               -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
50               -e 's|@''LOCALENAME_ENHANCE_LOCALE_FUNCS''@|$(LOCALENAME_ENHANCE_LOCALE_FUNCS)|g' \
51               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
52               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
53               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
54               $(srcdir)/locale.in.h > $@-t
55         $(AM_V_at)mv $@-t $@
56 MOSTLYCLEANFILES += locale.h locale.h-t
58 Include:
59 <locale.h>
61 License:
62 LGPLv2+
64 Maintainer:
65 all