Add script for determining the set of symbols to export from a library.
[gnulib.git] / modules / locale
blob488e4372af961133471e4d4b95c8e86b03e71ceb
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 include_next
11 snippet/arg-nonnull
12 snippet/c++defs
13 snippet/warn-on-use
14 stddef
16 configure.ac:
17 gl_LOCALE_H
19 Makefile.am:
20 BUILT_SOURCES += locale.h
22 # We need the following in order to create <locale.h> when the system
23 # doesn't have one that provides all definitions.
24 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
27           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
28               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
32               -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
33               -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
34               -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
35               -e 's/@''GNULIB_LOCALENAME''@/$(GNULIB_LOCALENAME)/g' \
36               -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \
37               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
38               -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \
39               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
40               -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
41               -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
42               -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \
43               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
44               -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \
45               -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
46               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
47               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
48               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
49               < $(srcdir)/locale.in.h; \
50         } > $@-t && \
51         mv $@-t $@
52 MOSTLYCLEANFILES += locale.h locale.h-t
54 Include:
55 <locale.h>
57 License:
58 LGPLv2+
60 Maintainer:
61 all