uconfig.h

Go to the documentation of this file.
00001 /*  
00002 **********************************************************************
00003 *   Copyright (C) 2002-2008, 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 
00046 #if defined(UCONFIG_USE_LOCAL)
00047 #include "uconfig_local.h"
00048 #endif
00049 
00061 #ifndef UCONFIG_ONLY_COLLATION
00062 #   define UCONFIG_ONLY_COLLATION 0
00063 #endif
00064 
00065 #if UCONFIG_ONLY_COLLATION
00066     /* common library */
00067 #   define UCONFIG_NO_BREAK_ITERATION 1
00068 #   define UCONFIG_NO_IDNA 1
00069 
00070     /* i18n library */
00071 #   if UCONFIG_NO_COLLATION
00072 #       error Contradictory collation switches in uconfig.h.
00073 #   endif
00074 #   define UCONFIG_NO_FORMATTING 1
00075 #   define UCONFIG_NO_TRANSLITERATION 1
00076 #   define UCONFIG_NO_REGULAR_EXPRESSIONS 1
00077 #endif
00078 
00079 /* common library switches -------------------------------------------------- */
00080 
00099 #ifndef UCONFIG_NO_FILE_IO
00100 #   define UCONFIG_NO_FILE_IO 0
00101 #endif
00102 
00110 #ifndef UCONFIG_NO_CONVERSION
00111 #   define UCONFIG_NO_CONVERSION 0
00112 #endif
00113 
00114 #if UCONFIG_NO_CONVERSION
00115 #   define UCONFIG_NO_LEGACY_CONVERSION 1
00116 #endif
00117 
00130 #ifndef UCONFIG_NO_LEGACY_CONVERSION
00131 #   define UCONFIG_NO_LEGACY_CONVERSION 0
00132 #endif
00133 
00142 #ifndef UCONFIG_NO_NORMALIZATION
00143 #   define UCONFIG_NO_NORMALIZATION 0
00144 #elif UCONFIG_NO_NORMALIZATION
00145     /* common library */
00146 #   define UCONFIG_NO_IDNA 1
00147 
00148     /* i18n library */
00149 #   if UCONFIG_ONLY_COLLATION
00150 #       error Contradictory collation switches in uconfig.h.
00151 #   endif
00152 #   define UCONFIG_NO_COLLATION 1
00153 #   define UCONFIG_NO_TRANSLITERATION 1
00154 #endif
00155 
00162 #ifndef UCONFIG_NO_BREAK_ITERATION
00163 #   define UCONFIG_NO_BREAK_ITERATION 0
00164 #endif
00165 
00172 #ifndef UCONFIG_NO_IDNA
00173 #   define UCONFIG_NO_IDNA 0
00174 #endif
00175 
00176 /* i18n library switches ---------------------------------------------------- */
00177 
00184 #ifndef UCONFIG_NO_COLLATION
00185 #   define UCONFIG_NO_COLLATION 0
00186 #endif
00187 
00194 #ifndef UCONFIG_NO_FORMATTING
00195 #   define UCONFIG_NO_FORMATTING 0
00196 #endif
00197 
00204 #ifndef UCONFIG_NO_TRANSLITERATION
00205 #   define UCONFIG_NO_TRANSLITERATION 0
00206 #endif
00207 
00214 #ifndef UCONFIG_NO_REGULAR_EXPRESSIONS
00215 #   define UCONFIG_NO_REGULAR_EXPRESSIONS 0
00216 #endif
00217 
00224 #ifndef UCONFIG_NO_SERVICE
00225 #   define UCONFIG_NO_SERVICE 0
00226 #endif
00227 
00228 #endif

Generated on Sun Aug 22 15:43:58 2010 for ICU 4.0.1 by  doxygen 1.3.9.1