~ubuntu-branches/ubuntu/natty/xml-security-c/natty-security

« back to all changes in this revision

Viewing changes to include/xsec/framework/XSECW32Config.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Russ Allbery
  • Date: 2009-08-05 14:11:52 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090805141152-a7xyrgur2sq3exkr
Tags: 1.5.1-1
* New upstream release.
  - Rename library package for upstream SONAME bump.
* Upstream now ships an older version of libtool, so run libtoolize and
  aclocal before the build.  Add build dependencies on automake and
  libtool.
* Build against Xerces-C 3.0.
* Stop building against Xalan.  The Xalan packages for Debian have been
  orphaned, the current Xalan release does not support Xerces-C 3.0, and
  porting it is not trivial.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
/*
18
18
 * XSEC
19
 
 * 
 
19
 *
20
20
 * Configuration file for Windows platform
21
21
 *
22
22
 * Needs to be modified by hand
23
23
 *
24
24
 * Author(s): Berin Lautenbach
25
25
 *
26
 
 * $Id: XSECW32Config.hpp 566299 2007-08-15 18:51:47Z scantor $
 
26
 * $Id: XSECW32Config.hpp 794017 2009-07-14 19:03:52Z scantor $
27
27
 *
28
28
 */
29
29
 
37
37
 */
38
38
 
39
39
#define XSEC_VERSION_MAJOR   1
40
 
#define XSEC_VERSION_MEDIUM  4
41
 
#define XSEC_VERSION_MINOR   0
 
40
#define XSEC_VERSION_MEDIUM  5
 
41
#define XSEC_VERSION_MINOR   1
42
42
 
43
43
/*
44
44
 * Because we don't have a configure script, we need to rely on version
61
61
   encoding that was found in input document */
62
62
 
63
63
#       define XSEC_XERCES_DOMENTITYINPUTENCODING 1
 
64
 
 
65
/* 3.0 now 64-bit safe */
 
66
 
 
67
#   define XSEC_XERCES_64BITSAFE 1
 
68
 
 
69
/* 3.0 InputStream must expose content type */
 
70
 
 
71
#   define XSEC_XERCES_INPUTSTREAM_HAS_CONTENTTYPE 1
64
72
#endif
65
73
 
66
74
#if (XERCES_VERSION_MAJOR == 3) || ((XERCES_VERSION_MAJOR == 2) && (XERCES_VERSION_MINOR >= 3))
67
 
/* 
 
75
/*
68
76
 * As of version 2.3, xerces requires a version parameter in XMLFormatter
69
77
 * constructors
70
78
 */
103
111
 * Activate this #define if Xalan is not required (or desired)
104
112
 */
105
113
 
106
 
// #define XSEC_NO_XALAN
 
114
#define XSEC_NO_XALAN
107
115
 
108
116
#if !defined (XSEC_NO_XALAN)
109
117
 
113
121
#               define XSEC_XSLEXCEPTION_RETURNS_DOMSTRING      1
114
122
#       endif
115
123
#       if (_XALAN_VERSION >= 10900)
116
 
                
 
124
 
117
125
                /* 1.9 and above have XSLException::getType() returns XalanDOMChar *, not
118
126
                        XalanDOMString
119
127
                */
125
133
#               undef XSEC_XERCESPARSERLIAISON_REQS_DOMSUPPORT
126
134
 
127
135
                /* 1.9 and above require a NodeRefList as input to XPathEvaluator::
128
 
                   selectNodeList 
 
136
                   selectNodeList
129
137
                */
130
138
 
131
139
#               define XSEC_SELECTNODELIST_REQS_NODEREFLIST
146
154
#               define XSEC_XERCESPARSERLIAISON_REQS_DOMSUPPORT
147
155
 
148
156
                /* 1.9 and above require a NodeRefList as input to XPathEvaluator::
149
 
                   selectNodeList 
 
157
                   selectNodeList
150
158
                */
151
159
 
152
160
#               undef XSEC_SELECTNODELIST_REQS_NODEREFLIST