00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef __UCONFIG_H__
00016 #define __UCONFIG_H__
00017
00018
00052 #if defined(UCONFIG_USE_LOCAL)
00053 #include "uconfig_local.h"
00054 #endif
00055
00063 #ifdef U_DEBUG
00064
00065 #elif defined(_DEBUG)
00066
00067
00068
00069
00070
00071 # define U_DEBUG 1
00072 # else
00073 # define U_DEBUG 0
00074 #endif
00075
00080 #ifndef UCLN_NO_AUTO_CLEANUP
00081 #define UCLN_NO_AUTO_CLEANUP 1
00082 #endif
00083
00089 #ifndef U_DISABLE_RENAMING
00090 #define U_DISABLE_RENAMING 0
00091 #endif
00092
00101 #ifdef U_NO_DEFAULT_INCLUDE_UTF_HEADERS
00102
00103 #elif defined(U_COMBINED_IMPLEMENTATION) || defined(U_COMMON_IMPLEMENTATION) || defined(U_I18N_IMPLEMENTATION) || \
00104 defined(U_IO_IMPLEMENTATION) || defined(U_LAYOUT_IMPLEMENTATION) || defined(U_LAYOUTEX_IMPLEMENTATION) || \
00105 defined(U_TOOLUTIL_IMPLEMENTATION)
00106 # define U_NO_DEFAULT_INCLUDE_UTF_HEADERS 1
00107 #else
00108 # define U_NO_DEFAULT_INCLUDE_UTF_HEADERS 0
00109 #endif
00110
00124 #ifndef U_OVERRIDE_CXX_ALLOCATION
00125 #define U_OVERRIDE_CXX_ALLOCATION 1
00126 #endif
00127
00133 #ifndef U_ENABLE_TRACING
00134 #define U_ENABLE_TRACING 0
00135 #endif
00136
00142 #ifndef UCONFIG_ENABLE_PLUGINS
00143 #define UCONFIG_ENABLE_PLUGINS 0
00144 #endif
00145
00151 #ifndef U_ENABLE_DYLOAD
00152 #define U_ENABLE_DYLOAD 1
00153 #endif
00154
00160 #ifndef U_CHECK_DYLOAD
00161 #define U_CHECK_DYLOAD 1
00162 #endif
00163
00169 #ifndef U_DEFAULT_SHOW_DRAFT
00170 #define U_DEFAULT_SHOW_DRAFT 1
00171 #endif
00172
00173
00174
00175
00176
00182 #ifdef U_HAVE_LIB_SUFFIX
00183
00184 #elif defined(U_LIB_SUFFIX_C_NAME)
00185 # define U_HAVE_LIB_SUFFIX 1
00186 #endif
00187
00193 #ifdef U_LIB_SUFFIX_C_NAME_STRING
00194
00195 #elif defined(U_LIB_SUFFIX_C_NAME)
00196 # define CONVERT_TO_STRING(s) #s
00197 # define U_LIB_SUFFIX_C_NAME_STRING CONVERT_TO_STRING(U_LIB_SUFFIX_C_NAME)
00198 #else
00199 # define U_LIB_SUFFIX_C_NAME_STRING ""
00200 #endif
00201
00202
00203
00215 #ifndef UCONFIG_ONLY_COLLATION
00216 # define UCONFIG_ONLY_COLLATION 0
00217 #endif
00218
00219 #if UCONFIG_ONLY_COLLATION
00220
00221 # define UCONFIG_NO_BREAK_ITERATION 1
00222 # define UCONFIG_NO_IDNA 1
00223
00224
00225 # if UCONFIG_NO_COLLATION
00226 # error Contradictory collation switches in uconfig.h.
00227 # endif
00228 # define UCONFIG_NO_FORMATTING 1
00229 # define UCONFIG_NO_TRANSLITERATION 1
00230 # define UCONFIG_NO_REGULAR_EXPRESSIONS 1
00231 #endif
00232
00233
00234
00253 #ifndef UCONFIG_NO_FILE_IO
00254 # define UCONFIG_NO_FILE_IO 0
00255 #endif
00256
00257 #if UCONFIG_NO_FILE_IO && defined(U_TIMEZONE_FILES_DIR)
00258 # error Contradictory file io switches in uconfig.h.
00259 #endif
00260
00272 #ifndef UCONFIG_NO_CONVERSION
00273 # define UCONFIG_NO_CONVERSION 0
00274 #endif
00275
00276 #if UCONFIG_NO_CONVERSION
00277 # define UCONFIG_NO_LEGACY_CONVERSION 1
00278 #endif
00279
00291 #ifndef UCONFIG_ONLY_HTML_CONVERSION
00292 # define UCONFIG_ONLY_HTML_CONVERSION 0
00293 #endif
00294
00307 #ifndef UCONFIG_NO_LEGACY_CONVERSION
00308 # define UCONFIG_NO_LEGACY_CONVERSION 0
00309 #endif
00310
00319 #ifndef UCONFIG_NO_NORMALIZATION
00320 # define UCONFIG_NO_NORMALIZATION 0
00321 #elif UCONFIG_NO_NORMALIZATION
00322
00323
00324 # define UCONFIG_NO_BREAK_ITERATION 1
00325
00326 # define UCONFIG_NO_IDNA 1
00327
00328
00329 # if UCONFIG_ONLY_COLLATION
00330 # error Contradictory collation switches in uconfig.h.
00331 # endif
00332 # define UCONFIG_NO_COLLATION 1
00333 # define UCONFIG_NO_TRANSLITERATION 1
00334 #endif
00335
00342 #ifndef UCONFIG_NO_BREAK_ITERATION
00343 # define UCONFIG_NO_BREAK_ITERATION 0
00344 #endif
00345
00352 #ifndef UCONFIG_NO_IDNA
00353 # define UCONFIG_NO_IDNA 0
00354 #endif
00355
00363 #ifndef UCONFIG_MSGPAT_DEFAULT_APOSTROPHE_MODE
00364 # define UCONFIG_MSGPAT_DEFAULT_APOSTROPHE_MODE UMSGPAT_APOS_DOUBLE_OPTIONAL
00365 #endif
00366
00367
00368
00375 #ifndef UCONFIG_NO_COLLATION
00376 # define UCONFIG_NO_COLLATION 0
00377 #endif
00378
00385 #ifndef UCONFIG_NO_FORMATTING
00386 # define UCONFIG_NO_FORMATTING 0
00387 #endif
00388
00395 #ifndef UCONFIG_NO_TRANSLITERATION
00396 # define UCONFIG_NO_TRANSLITERATION 0
00397 #endif
00398
00405 #ifndef UCONFIG_NO_REGULAR_EXPRESSIONS
00406 # define UCONFIG_NO_REGULAR_EXPRESSIONS 0
00407 #endif
00408
00415 #ifndef UCONFIG_NO_SERVICE
00416 # define UCONFIG_NO_SERVICE 0
00417 #endif
00418
00425 #ifndef UCONFIG_HAVE_PARSEALLINPUT
00426 # define UCONFIG_HAVE_PARSEALLINPUT 1
00427 #endif
00428
00429
00436 #ifndef UCONFIG_FORMAT_FASTPATHS_49
00437 # define UCONFIG_FORMAT_FASTPATHS_49 1
00438 #endif
00439
00446 #ifndef UCONFIG_NO_FILTERED_BREAK_ITERATION
00447 # define UCONFIG_NO_FILTERED_BREAK_ITERATION 0
00448 #endif
00449
00450 #endif