comparison packages/language/c/libc/i18n/current/cdl/i18n.cdl @ 115:6ed91473a1cd ecos-sw-2000-08-21

Merge from eCos master repository on 2000-08-21-22:40:54-BST
author jlarmour
date Fri, 25 Aug 2000 17:32:38 +0000
parents
children ac086aa3217e
comparison
equal deleted inserted replaced
114:5ad2b71d525e 115:6ed91473a1cd
1 # ====================================================================
2 #
3 # i18n.cdl
4 #
5 # C library internationalization (i18n) related configuration data
6 #
7 # ====================================================================
8 #####COPYRIGHTBEGIN####
9 #
10 # -------------------------------------------
11 # The contents of this file are subject to the Red Hat eCos Public License
12 # Version 1.1 (the "License"); you may not use this file except in
13 # compliance with the License. You may obtain a copy of the License at
14 # http://www.redhat.com/
15 #
16 # Software distributed under the License is distributed on an "AS IS"
17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
18 # License for the specific language governing rights and limitations under
19 # the License.
20 #
21 # The Original Code is eCos - Embedded Configurable Operating System,
22 # released September 30, 1998.
23 #
24 # The Initial Developer of the Original Code is Red Hat.
25 # Portions created by Red Hat are
26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
27 # All Rights Reserved.
28 # -------------------------------------------
29 #
30 #####COPYRIGHTEND####
31 # ====================================================================
32 ######DESCRIPTIONBEGIN####
33 #
34 # Author(s): jlarmour
35 # Contributors:
36 # Date: 2000-04-14
37 #
38 #####DESCRIPTIONEND####
39 #
40 # ====================================================================
41
42 cdl_package CYGPKG_LIBC_I18N {
43 display "ISO C library internationalization functions"
44 description "
45 This package provides internationalization functions specified by the
46 ISO C standard - ISO/IEC 9899:1990. These include locale-related
47 functionality and <ctype.h> functionality."
48 doc redirect/the-iso-standard-c-and-math-libraries.html
49 include_dir cyg/libc/i18n
50 parent CYGPKG_LIBC
51 implements CYGINT_ISO_LOCALE
52 implements CYGINT_ISO_CTYPE
53 requires CYGPKG_ISOINFRA
54 compile ctype.cxx locale.cxx
55
56 # ====================================================================
57
58 cdl_option CYGNUM_LIBC_I18N_MAX_LOCALE_NAME_SIZE {
59 display "Size of locale name strings"
60 flavor data
61 legal_values 2 to 0x7fffffff
62 default_value 2
63 description "
64 This option controls the maximum size of
65 locale names and is used, among other things
66 to instantiate a static string used
67 as a return value from the
68 setlocale() function. When requesting the
69 current locale settings with LC_ALL, a string
70 must be constructed to contain this data, rather
71 than just returning a constant string. This
72 string data is stored in the static string.
73 This depends on the length of locale names,
74 hence this option. If just the C locale is
75 present, this option can be set as low as 2."
76 }
77
78
79 # ====================================================================
80
81 cdl_option CYGIMP_LIBC_I18N_CTYPE_INLINES {
82 display "Inline versions of <ctype.h> functions"
83 default_value 1
84 requires { CYGBLD_ISO_CTYPE_HEADER == \
85 "<cyg/libc/i18n/ctype.inl>" }
86 description "
87 This option chooses whether the simple character
88 classification and conversion functions (e.g.
89 isupper(), isalpha(), toupper(), etc.)
90 from <ctype.h> are available as inline
91 functions. This may improve performance and as
92 the functions are small, may even improve code
93 size."
94 }
95
96 # ====================================================================
97
98 cdl_component CYGPKG_LIBC_I18N_OPTIONS {
99 display "C library i18n functions build options"
100 flavor none
101 no_define
102 description "
103 Package specific build options including control over
104 compiler flags used only in building this package,
105 and details of which tests are built."
106
107
108 cdl_option CYGPKG_LIBC_I18N_CFLAGS_ADD {
109 display "Additional compiler flags"
110 flavor data
111 no_define
112 default_value { "" }
113 description "
114 This option modifies the set of compiler flags for
115 building the C library. These flags are used in addition
116 to the set of global flags."
117 }
118
119 cdl_option CYGPKG_LIBC_I18N_CFLAGS_REMOVE {
120 display "Suppressed compiler flags"
121 flavor data
122 no_define
123 default_value { "" }
124 description "
125 This option modifies the set of compiler flags for
126 building the C library. These flags are removed from
127 the set of global flags if present."
128 }
129
130 cdl_option CYGPKG_LIBC_I18N_TESTS {
131 display "C library i18n function tests"
132 flavor data
133 no_define
134 calculated { "tests/ctype tests/setlocale" }
135 description "
136 This option specifies the set of tests for the C library
137 i18n functions."
138 }
139 }
140 }
141
142 # ====================================================================
143 # EOF i18n.cdl