Annotation of win32/gnome/libxslt-x.x.x/libxslt/xsltconfig.h, revision 1.1
1.1 ! paf 1: /*
! 2: * xsltconfig.h: compile-time version informations for the XSLT engine
! 3: *
! 4: * See Copyright for the status of this software.
! 5: *
! 6: * daniel@veillard.com
! 7: */
! 8:
! 9: #ifndef __XML_XSLTCONFIG_H__
! 10: #define __XML_XSLTCONFIG_H__
! 11:
! 12: #ifdef __cplusplus
! 13: extern "C" {
! 14: #endif
! 15:
! 16: /**
! 17: * LIBXSLT_DOTTED_VERSION:
! 18: *
! 19: * the version string like "1.2.3"
! 20: */
! 21: #define LIBXSLT_DOTTED_VERSION "1.0.9"
! 22:
! 23: /**
! 24: * LIBXSLT_VERSION:
! 25: *
! 26: * the version number: 1.2.3 value is 1002003
! 27: */
! 28: #define LIBXSLT_VERSION 10009
! 29:
! 30: /**
! 31: * LIBXSLT_VERSION_STRING:
! 32: *
! 33: * the version number string, 1.2.3 value is "1002003"
! 34: */
! 35: #define LIBXSLT_VERSION_STRING "10009"
! 36:
! 37: /**
! 38: * WITH_XSLT_DEBUG:
! 39: *
! 40: * Activate the compilation of the debug reporting. Speed penalty
! 41: * is insignifiant and being able to run xsltpoc -v is useful. On
! 42: * by default unless --without-debug is passed to configure
! 43: */
! 44: #if 1
! 45: #define WITH_XSLT_DEBUG
! 46: #endif
! 47:
! 48: #if 0
! 49: /**
! 50: * DEBUG_MEMORY:
! 51: *
! 52: * should be activated only when debugging libxslt. It replaces the
! 53: * allocator with a collect and debug shell to the libc allocator.
! 54: * Use configure --with-mem-debug to activate it on both library
! 55: */
! 56: #define DEBUG_MEMORY
! 57:
! 58: /**
! 59: * DEBUG_MEMORY_LOCATION:
! 60: *
! 61: * should be activated only when debugging libxslt.
! 62: * DEBUG_MEMORY_LOCATION should be activated only when libxml has
! 63: * been configured with --with-debug-mem too
! 64: */
! 65: #define DEBUG_MEMORY_LOCATION
! 66: #endif
! 67:
! 68: /**
! 69: * WITH_XSLT_DEBUGGER:
! 70: *
! 71: * Activate the compilation of the debugger support. Speed penalty
! 72: * is insignifiant.
! 73: * On by default unless --without-debugger is passed to configure
! 74: */
! 75: #if 1
! 76: #define WITH_XSLT_DEBUGGER
! 77: #endif
! 78:
! 79: /**
! 80: * ATTRIBUTE_UNUSED:
! 81: *
! 82: * This macro is used to flag unused function parameters to GCC
! 83: */
! 84: #ifdef __GNUC__
! 85: #ifdef HAVE_ANSIDECL_H
! 86: #include <ansidecl.h>
! 87: #endif
! 88: #ifndef ATTRIBUTE_UNUSED
! 89: #define ATTRIBUTE_UNUSED
! 90: #endif
! 91: #else
! 92: #define ATTRIBUTE_UNUSED
! 93: #endif
! 94:
! 95: /**
! 96: * LIBXSLT_PUBLIC:
! 97: *
! 98: * This macro is used to declare PUBLIC variables for MSC on Windows
! 99: */
! 100: #if !defined(WIN32) || defined(__CYGWIN__)
! 101: #define LIBXSLT_PUBLIC
! 102: #endif
! 103:
! 104: #ifdef __cplusplus
! 105: }
! 106: #endif
! 107:
! 108: #endif /* __XML_XSLTCONFIG_H__ */
E-mail: