You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by sc...@apache.org on 2008/12/08 22:20:35 UTC
svn commit: r724489 - /xml/security/trunk/c/configure.ac
Author: scantor
Date: Mon Dec 8 13:20:35 2008
New Revision: 724489
URL: http://svn.apache.org/viewvc?rev=724489&view=rev
Log:
Fix 64-bit Xerces test.
Modified:
xml/security/trunk/c/configure.ac
Modified: xml/security/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/configure.ac?rev=724489&r1=724488&r2=724489&view=diff
==============================================================================
--- xml/security/trunk/c/configure.ac (original)
+++ xml/security/trunk/c/configure.ac Mon Dec 8 13:20:35 2008
@@ -446,13 +446,10 @@
AC_MSG_CHECKING([whether Xerces is 64-bit clean])
-AC_TRY_RUN([#include <xercesc/util/XercesVersion.hpp>
- int main(int argc, char **argv) {
- if (XERCES_VERSION_MAJOR > 2)
- return 1;
- else
- return 0;
- }],
+AC_TRY_COMPILE([#include <xercesc/framework/MemBufInputSource.hpp>],
+ [using namespace XERCES_CPP_NAMESPACE;
+ XMLFilePos testvar;
+ ],
[AC_MSG_RESULT([yes])]
[AC_DEFINE(XSEC_XERCES_64BITSAFE)],
[AC_MSG_RESULT([no])])