ICU 4.4.2 4.4.2
|
00001 /* 00002 ********************************************************************** 00003 * Copyright (C) 2002-2009, 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 00179 /* i18n library switches ---------------------------------------------------- */ 00180 00187 #ifndef UCONFIG_NO_COLLATION 00188 # define UCONFIG_NO_COLLATION 0 00189 #endif 00190 00197 #ifndef UCONFIG_NO_FORMATTING 00198 # define UCONFIG_NO_FORMATTING 0 00199 #endif 00200 00207 #ifndef UCONFIG_NO_TRANSLITERATION 00208 # define UCONFIG_NO_TRANSLITERATION 0 00209 #endif 00210 00217 #ifndef UCONFIG_NO_REGULAR_EXPRESSIONS 00218 # define UCONFIG_NO_REGULAR_EXPRESSIONS 0 00219 #endif 00220 00227 #ifndef UCONFIG_NO_SERVICE 00228 # define UCONFIG_NO_SERVICE 0 00229 #endif 00230 00231 #endif