uconfig.h

Go to the documentation of this file.
00001 /* 00002 ********************************************************************** 00003 * Copyright (C) 2002-2004, 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 00041 #ifndef UCONFIG_ONLY_COLLATION 00042 # define UCONFIG_ONLY_COLLATION 0 00043 #endif 00044 00045 #if UCONFIG_ONLY_COLLATION 00046 /* common library */ 00047 # define UCONFIG_NO_BREAK_ITERATION 1 00048 # define UCONFIG_NO_IDNA 1 00049 00050 /* i18n library */ 00051 # if UCONFIG_NO_COLLATION 00052 # error Contradictory collation switches in uconfig.h. 00053 # endif 00054 # define UCONFIG_NO_FORMATTING 1 00055 # define UCONFIG_NO_TRANSLITERATION 1 00056 # define UCONFIG_NO_REGULAR_EXPRESSIONS 1 00057 #endif 00058 00059 /* common library switches -------------------------------------------------- */ 00060 00073 #ifndef UCONFIG_NO_LEGACY_CONVERSION 00074 # define UCONFIG_NO_LEGACY_CONVERSION 0 00075 #endif 00076 00085 #ifndef UCONFIG_NO_NORMALIZATION 00086 # define UCONFIG_NO_NORMALIZATION 0 00087 #elif UCONFIG_NO_NORMALIZATION 00088 /* common library */ 00089 # define UCONFIG_NO_IDNA 1 00090 00091 /* i18n library */ 00092 # if UCONFIG_ONLY_COLLATION 00093 # error Contradictory collation switches in uconfig.h. 00094 # endif 00095 # define UCONFIG_NO_COLLATION 1 00096 # define UCONFIG_NO_TRANSLITERATION 1 00097 #endif 00098 00105 #ifndef UCONFIG_NO_BREAK_ITERATION 00106 # define UCONFIG_NO_BREAK_ITERATION 0 00107 #endif 00108 00115 #ifndef UCONFIG_NO_IDNA 00116 # define UCONFIG_NO_IDNA 0 00117 #endif 00118 00119 /* i18n library switches ---------------------------------------------------- */ 00120 00127 #ifndef UCONFIG_NO_COLLATION 00128 # define UCONFIG_NO_COLLATION 0 00129 #endif 00130 00137 #ifndef UCONFIG_NO_FORMATTING 00138 # define UCONFIG_NO_FORMATTING 0 00139 #endif 00140 00147 #ifndef UCONFIG_NO_TRANSLITERATION 00148 # define UCONFIG_NO_TRANSLITERATION 0 00149 #endif 00150 00157 #ifndef UCONFIG_NO_REGULAR_EXPRESSIONS 00158 # define UCONFIG_NO_REGULAR_EXPRESSIONS 0 00159 #endif 00160 00161 /* 00162 * \def UCONFIG_NO_SERVICE 00163 * This switch turns off service registration. 00164 * note: NOT implemented in ICU 3.0. 00165 * note: Change this back to a .doc comment when this is implemented! 00166 * 00167 * @internal ICU 3.0 00168 */ 00169 /* #ifndef UCONFIG_NO_SERVICE */ 00170 /* # define UCONFIG_NO_SERVICE 0 */ 00171 /* #endif */ 00172 00173 #endif

Generated on Fri Jun 18 12:36:00 2004 for ICU by doxygen 1.3.7