00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef VCSN_CONFIG_SYSTEM_HH
00018 # define VCSN_CONFIG_SYSTEM_HH
00019
00034 # ifdef HAVE_PRETTY_FUNCTION
00035 # define PRETTY_FUNCTION() __PRETTY_FUNCTION__
00036 # else
00037 # define PRETTY_FUNCTION() static_cast<const char*>(0)
00038 # endif
00039
00040 # ifndef VCSN_INTERNAL_IGNORE_PCONF_HH
00041 # include <vaucanson/config/pconf.hh>
00042 # endif
00043
00044 # include <vaucanson/config/math.hh>
00045
00046 # define VCSN_INCLUDE_XML() \
00047 (not defined (VCSN_SANITY_CHECK) or defined (VCSN_USE_XML))
00048
00049 # if (defined __GNUC__) && (__GNUC__ < 3)
00050 # include <stl_config.h>
00051 # undef __STL_BEGIN_RELOPS_NAMESPACE
00052 # define __STL_BEGIN_RELOPS_NAMESPACE namespace rel_ops {
00053 # undef __STL_END_RELOPS_NAMESPACE
00054 # define __STL_END_RELOPS_NAMESPACE }
00055 # define __STL_USE_NAMESPACES
00056 # endif
00057
00058
00059 # ifdef NDEBUG
00060 # define VCSN_NDEBUG 1
00061 # endif
00062
00063
00064
00065 # if (defined __GNUC__)
00066 # define XUNUSED(X) X __attribute__ ((__unused__))
00067 # else
00068 # define XUNUSED(X)
00069 # endif
00070
00071 #endif // ! VCSN_CONFIG_SYSTEM_HH