ICU 4.8.1.1  4.8.1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
uconfig.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (C) 2002-2011, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 * file name: uconfig.h
7 * encoding: US-ASCII
8 * tab size: 8 (not used)
9 * indentation:4
10 *
11 * created on: 2002sep19
12 * created by: Markus W. Scherer
13 */
14 
15 #ifndef __UCONFIG_H__
16 #define __UCONFIG_H__
17 
18 
45 #if defined(UCONFIG_USE_LOCAL)
46 #include "uconfig_local.h"
47 #endif
48 
60 #ifndef UCONFIG_ONLY_COLLATION
61 # define UCONFIG_ONLY_COLLATION 0
62 #endif
63 
64 #if UCONFIG_ONLY_COLLATION
65  /* common library */
66 # define UCONFIG_NO_BREAK_ITERATION 1
67 # define UCONFIG_NO_IDNA 1
68 
69  /* i18n library */
70 # if UCONFIG_NO_COLLATION
71 # error Contradictory collation switches in uconfig.h.
72 # endif
73 # define UCONFIG_NO_FORMATTING 1
74 # define UCONFIG_NO_TRANSLITERATION 1
75 # define UCONFIG_NO_REGULAR_EXPRESSIONS 1
76 #endif
77 
78 /* common library switches -------------------------------------------------- */
79 
98 #ifndef UCONFIG_NO_FILE_IO
99 # define UCONFIG_NO_FILE_IO 0
100 #endif
101 
113 #ifndef UCONFIG_NO_CONVERSION
114 # define UCONFIG_NO_CONVERSION 0
115 #endif
116 
117 #if UCONFIG_NO_CONVERSION
118 # define UCONFIG_NO_LEGACY_CONVERSION 1
119 #endif
120 
133 #ifndef UCONFIG_NO_LEGACY_CONVERSION
134 # define UCONFIG_NO_LEGACY_CONVERSION 0
135 #endif
136 
145 #ifndef UCONFIG_NO_NORMALIZATION
146 # define UCONFIG_NO_NORMALIZATION 0
147 #elif UCONFIG_NO_NORMALIZATION
148  /* common library */
149 # define UCONFIG_NO_IDNA 1
150 
151  /* i18n library */
152 # if UCONFIG_ONLY_COLLATION
153 # error Contradictory collation switches in uconfig.h.
154 # endif
155 # define UCONFIG_NO_COLLATION 1
156 # define UCONFIG_NO_TRANSLITERATION 1
157 #endif
158 
165 #ifndef UCONFIG_NO_BREAK_ITERATION
166 # define UCONFIG_NO_BREAK_ITERATION 0
167 #endif
168 
175 #ifndef UCONFIG_NO_IDNA
176 # define UCONFIG_NO_IDNA 0
177 #endif
178 
186 #ifndef UCONFIG_MSGPAT_DEFAULT_APOSTROPHE_MODE
187 # define UCONFIG_MSGPAT_DEFAULT_APOSTROPHE_MODE UMSGPAT_APOS_DOUBLE_OPTIONAL
188 #endif
189 
190 /* i18n library switches ---------------------------------------------------- */
191 
198 #ifndef UCONFIG_NO_COLLATION
199 # define UCONFIG_NO_COLLATION 0
200 #endif
201 
208 #ifndef UCONFIG_NO_FORMATTING
209 # define UCONFIG_NO_FORMATTING 0
210 #endif
211 
218 #ifndef UCONFIG_NO_TRANSLITERATION
219 # define UCONFIG_NO_TRANSLITERATION 0
220 #endif
221 
228 #ifndef UCONFIG_NO_REGULAR_EXPRESSIONS
229 # define UCONFIG_NO_REGULAR_EXPRESSIONS 0
230 #endif
231 
238 #ifndef UCONFIG_NO_SERVICE
239 # define UCONFIG_NO_SERVICE 0
240 #endif
241 
242 #endif