ICU 4.8.1.1
4.8.1.1
|
00001 /* 00002 ********************************************************************** 00003 * Copyright (C) 2002-2011, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * file name: uconfig.h 00007 * encoding: US-ASCII 00008 * tab size: 8 (not used) 00009 * indentation:4 00010 * 00011 * created on: 2002sep19 00012 * created by: Markus W. Scherer 00013 */ 00014 00015 #ifndef __UCONFIG_H__ 00016 #define __UCONFIG_H__ 00017 00018 00045 #if defined(UCONFIG_USE_LOCAL) 00046 #include "uconfig_local.h" 00047 #endif 00048 00060 #ifndef UCONFIG_ONLY_COLLATION 00061 # define UCONFIG_ONLY_COLLATION 0 00062 #endif 00063 00064 #if UCONFIG_ONLY_COLLATION 00065 /* common library */ 00066 # define UCONFIG_NO_BREAK_ITERATION 1 00067 # define UCONFIG_NO_IDNA 1 00068 00069 /* i18n library */ 00070 # if UCONFIG_NO_COLLATION 00071 # error Contradictory collation switches in uconfig.h. 00072 # endif 00073 # define UCONFIG_NO_FORMATTING 1 00074 # define UCONFIG_NO_TRANSLITERATION 1 00075 # define UCONFIG_NO_REGULAR_EXPRESSIONS 1 00076 #endif 00077 00078 /* common library switches -------------------------------------------------- */ 00079 00098 #ifndef UCONFIG_NO_FILE_IO 00099 # define UCONFIG_NO_FILE_IO 0 00100 #endif 00101 00113 #ifndef UCONFIG_NO_CONVERSION 00114 # define UCONFIG_NO_CONVERSION 0 00115 #endif 00116 00117 #if UCONFIG_NO_CONVERSION 00118 # define UCONFIG_NO_LEGACY_CONVERSION 1 00119 #endif 00120 00133 #ifndef UCONFIG_NO_LEGACY_CONVERSION 00134 # define UCONFIG_NO_LEGACY_CONVERSION 0 00135 #endif 00136 00145 #ifndef UCONFIG_NO_NORMALIZATION 00146 # define UCONFIG_NO_NORMALIZATION 0 00147 #elif UCONFIG_NO_NORMALIZATION 00148 /* common library */ 00149 # define UCONFIG_NO_IDNA 1 00150 00151 /* i18n library */ 00152 # if UCONFIG_ONLY_COLLATION 00153 # error Contradictory collation switches in uconfig.h. 00154 # endif 00155 # define UCONFIG_NO_COLLATION 1 00156 # define UCONFIG_NO_TRANSLITERATION 1 00157 #endif 00158 00165 #ifndef UCONFIG_NO_BREAK_ITERATION 00166 # define UCONFIG_NO_BREAK_ITERATION 0 00167 #endif 00168 00175 #ifndef UCONFIG_NO_IDNA 00176 # define UCONFIG_NO_IDNA 0 00177 #endif 00178 00186 #ifndef UCONFIG_MSGPAT_DEFAULT_APOSTROPHE_MODE 00187 # define UCONFIG_MSGPAT_DEFAULT_APOSTROPHE_MODE UMSGPAT_APOS_DOUBLE_OPTIONAL 00188 #endif 00189 00190 /* i18n library switches ---------------------------------------------------- */ 00191 00198 #ifndef UCONFIG_NO_COLLATION 00199 # define UCONFIG_NO_COLLATION 0 00200 #endif 00201 00208 #ifndef UCONFIG_NO_FORMATTING 00209 # define UCONFIG_NO_FORMATTING 0 00210 #endif 00211 00218 #ifndef UCONFIG_NO_TRANSLITERATION 00219 # define UCONFIG_NO_TRANSLITERATION 0 00220 #endif 00221 00228 #ifndef UCONFIG_NO_REGULAR_EXPRESSIONS 00229 # define UCONFIG_NO_REGULAR_EXPRESSIONS 0 00230 #endif 00231 00238 #ifndef UCONFIG_NO_SERVICE 00239 # define UCONFIG_NO_SERVICE 0 00240 #endif 00241 00242 #endif