From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- config_host/config_locales.h.in | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 config_host/config_locales.h.in (limited to 'config_host/config_locales.h.in') diff --git a/config_host/config_locales.h.in b/config_host/config_locales.h.in new file mode 100644 index 000000000..b9b6988cc --- /dev/null +++ b/config_host/config_locales.h.in @@ -0,0 +1,58 @@ +/* Configuration of restriction on supported locales, by the + * --with-locales option. + * + * (Note that this is totally unrelated to what UI language(s) were + * configured with the --with-lang option.) + * + * Normally, especially for desktop OSes, LibreOffice is built to + * support all the locales and character encodings that it has code + * (data) for in the source code. By using the --with-locales + * configure switch, this can be restricted. + * + * This file defines feature test macros for those languages for which + * at least one locale is to be supported. In some cases, a feature + * test macro for a script is provided in addition or instead. + * + * Only languages for which there exists separate code and/or data in + * the source code need to be mentioned here. + */ + +#ifndef CONFIG_LOCALES_H +#define CONFIG_LOCALES_H + +/* In the normal case WITH_LOCALE_ALL is one and this + * overrides the others which are zero. + */ +#define WITH_LOCALE_ALL 0 + +/* When --with-locales was used, WITH_LOCALE_ALL is zero and some of + * these are one. + */ +#define WITH_LOCALE_ca 0 +#define WITH_LOCALE_cu 0 +#define WITH_LOCALE_dz 0 +#define WITH_LOCALE_el 0 +#define WITH_LOCALE_he 0 +#define WITH_LOCALE_hi 0 +#define WITH_LOCALE_hr 0 +#define WITH_LOCALE_hu 0 +#define WITH_LOCALE_is 0 +#define WITH_LOCALE_ja 0 +#define WITH_LOCALE_ko 0 +#define WITH_LOCALE_ku 0 +#define WITH_LOCALE_ln 0 +#define WITH_LOCALE_my 0 +#define WITH_LOCALE_ne 0 +#define WITH_LOCALE_ro 0 +#define WITH_LOCALE_ru 0 +#define WITH_LOCALE_sid 0 +#define WITH_LOCALE_th 0 +#define WITH_LOCALE_tr 0 +#define WITH_LOCALE_uk 0 +#define WITH_LOCALE_vro 0 +#define WITH_LOCALE_zh 0 + +#define WITH_LOCALE_FOR_SCRIPT_Cyrl 0 +#define WITH_LOCALE_FOR_SCRIPT_Deva 0 + +#endif -- cgit v1.2.3