# define XMLTOOLING_XERCESC_INPUTSTREAM_HAS_CONTENTTYPE 1
#endif
+/* Define to 1 if you have the `xsecsize_t' type. */
+#define HAVE_XSECSIZE_T 1
+
/* Name of package */
#define PACKAGE "xmltooling"
[#include <xsec/utils/XSECPlatformUtils.hpp>],
[XSECPlatformUtils::Initialise()],,
[AC_MSG_ERROR([unable to link with XML-Security])])
+ AC_MSG_CHECKING([xsecsize_t])
+ AC_CHECK_TYPE([xsecsize_t],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
# restore master libs
LIBS="$save_LIBS"
# define XMLTOOLING_NO_XMLSEC 1\r
#endif\r
\r
-#ifdef XMLTOOLING_NO_XMLSEC\r
+#if defined(XMLTOOLING_NO_XMLSEC) || !defined(HAVE_XSECSIZE_T)\r
# ifdef XMLTOOLING_XERCESC_64BITSAFE\r
# include <xercesc/util/XercesDefs.hpp>\r
typedef XMLSize_t xsecsize_t;\r
/* Define to 1 if Xerces has a 64-bit-safe API. */
#undef XMLTOOLING_XERCESC_64BITSAFE
+
+/* Define to 1 if you have the `xsecsize_t' type. */
+#undef HAVE_XSECSIZE_T
# define XMLTOOLING_XERCESC_BOOLSETIDATTRIBUTE 1
# define XMLTOOLING_XERCESC_64BITSAFE 1
#endif
+
+/* Define to 1 if you have the `xsecsize_t' type. */
+#define HAVE_XSECSIZE_T 1