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 U_ENABLE_DYLOAD
00143 #define U_ENABLE_DYLOAD 1
00144 #endif
00145
00151 #ifndef U_CHECK_DYLOAD
00152 #define U_CHECK_DYLOAD 1
00153 #endif
00154
00155
00161 #ifndef U_DEFAULT_SHOW_DRAFT
00162 #define U_DEFAULT_SHOW_DRAFT 1
00163 #endif
00164
00165
00166
00167
00168
00174 #ifdef U_HAVE_LIB_SUFFIX
00175
00176 #elif defined(U_LIB_SUFFIX_C_NAME)
00177 # define U_HAVE_LIB_SUFFIX 1
00178 #endif
00179
00185 #ifdef U_LIB_SUFFIX_C_NAME_STRING
00186
00187 #elif defined(U_LIB_SUFFIX_C_NAME)
00188 # define U_LIB_SUFFIX_C_NAME_STRING #U_LIB_SUFFIX_C_NAME
00189 #else
00190 # define U_LIB_SUFFIX_C_NAME_STRING ""
00191 #endif
00192
00193
00194
00206 #ifndef UCONFIG_ONLY_COLLATION
00207 # define UCONFIG_ONLY_COLLATION 0
00208 #endif
00209
00210 #if UCONFIG_ONLY_COLLATION
00211
00212 # define UCONFIG_NO_BREAK_ITERATION 1
00213 # define UCONFIG_NO_IDNA 1
00214
00215
00216 # if UCONFIG_NO_COLLATION
00217 # error Contradictory collation switches in uconfig.h.
00218 # endif
00219 # define UCONFIG_NO_FORMATTING 1
00220 # define UCONFIG_NO_TRANSLITERATION 1
00221 # define UCONFIG_NO_REGULAR_EXPRESSIONS 1
00222 #endif
00223
00224
00225
00244 #ifndef UCONFIG_NO_FILE_IO
00245 # define UCONFIG_NO_FILE_IO 0
00246 #endif
00247
00259 #ifndef UCONFIG_NO_CONVERSION
00260 # define UCONFIG_NO_CONVERSION 0
00261 #endif
00262
00263 #if UCONFIG_NO_CONVERSION
00264 # define UCONFIG_NO_LEGACY_CONVERSION 1
00265 #endif
00266
00279 #ifndef UCONFIG_NO_LEGACY_CONVERSION
00280 # define UCONFIG_NO_LEGACY_CONVERSION 0
00281 #endif
00282
00291 #ifndef UCONFIG_NO_NORMALIZATION
00292 # define UCONFIG_NO_NORMALIZATION 0
00293 #elif UCONFIG_NO_NORMALIZATION
00294
00295
00296 # define UCONFIG_NO_BREAK_ITERATION 1
00297
00298 # define UCONFIG_NO_IDNA 1
00299
00300
00301 # if UCONFIG_ONLY_COLLATION
00302 # error Contradictory collation switches in uconfig.h.
00303 # endif
00304 # define UCONFIG_NO_COLLATION 1
00305 # define UCONFIG_NO_TRANSLITERATION 1
00306 #endif
00307
00314 #ifndef UCONFIG_NO_BREAK_ITERATION
00315 # define UCONFIG_NO_BREAK_ITERATION 0
00316 #endif
00317
00324 #ifndef UCONFIG_NO_IDNA
00325 # define UCONFIG_NO_IDNA 0
00326 #endif
00327
00335 #ifndef UCONFIG_MSGPAT_DEFAULT_APOSTROPHE_MODE
00336 # define UCONFIG_MSGPAT_DEFAULT_APOSTROPHE_MODE UMSGPAT_APOS_DOUBLE_OPTIONAL
00337 #endif
00338
00339
00340
00347 #ifndef UCONFIG_NO_COLLATION
00348 # define UCONFIG_NO_COLLATION 0
00349 #endif
00350
00357 #ifndef UCONFIG_NO_FORMATTING
00358 # define UCONFIG_NO_FORMATTING 0
00359 #endif
00360
00367 #ifndef UCONFIG_NO_TRANSLITERATION
00368 # define UCONFIG_NO_TRANSLITERATION 0
00369 #endif
00370
00377 #ifndef UCONFIG_NO_REGULAR_EXPRESSIONS
00378 # define UCONFIG_NO_REGULAR_EXPRESSIONS 0
00379 #endif
00380
00387 #ifndef UCONFIG_NO_SERVICE
00388 # define UCONFIG_NO_SERVICE 0
00389 #endif
00390
00397 #ifndef UCONFIG_HAVE_PARSEALLINPUT
00398 # define UCONFIG_HAVE_PARSEALLINPUT 1
00399 #endif
00400
00401
00408 #ifndef UCONFIG_FORMAT_FASTPATHS_49
00409 # define UCONFIG_FORMAT_FASTPATHS_49 1
00410 #endif
00411
00412 #endif