From 760812f587296a471e9e3b0b0bf5112d423e67ed Mon Sep 17 00:00:00 2001 From: cantor Date: Tue, 18 Jan 2005 17:48:40 +0000 Subject: [PATCH] Require Xerces 2.6.1 for xml:lang in metadata, check for xmlsec 1.1 header git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1307 cb58f699-b61c-0410-a6fe-9272a202ed29 --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 5def5fe..1249d9d 100644 --- a/configure.ac +++ b/configure.ac @@ -186,13 +186,13 @@ AC_CHECK_HEADER([xercesc/dom/DOM.hpp],, AC_MSG_CHECKING([Xerces version]) AC_PREPROC_IFELSE( [AC_LANG_PROGRAM([#include ], -[#if _XERCES_VERSION != 20600 && _XERCES_VERSION >= 20300 +[#if _XERCES_VERSION != 20601 int i = 0; #else -#error cannot use version = 2.6.0 or < 2.3.0 +#error must use patched version 2.6.1 provided by Shibboleth project (http://wayf.internet2.edu/shibboleth/) #endif])], [AC_MSG_RESULT(OK)], - [AC_MSG_FAILURE([Shibboleth requires a Xerces version > 2.3.0, but cannot use 2.6.0 -- a 2.6.1 patched release is available from us])]) + [AC_MSG_FAILURE([Shibboleth requires patched Xerces version 2.6.1 (http://wayf.internet2.edu/shibboleth/)])]) AC_TRY_LINK( [#include ], [xercesc::XMLPlatformUtils::Initialize()], @@ -208,12 +208,12 @@ AC_ARG_WITH(xmlsec, CPPFLAGS="-I${with_xmlsec}/include $CPPFLAGS" fi]) LIBS="-lxml-security-c $LIBS" -AC_CHECK_HEADER([xsec/utils/XSECPlatformUtils.hpp],,AC_MSG_ERROR([unable to find xsec header files])) +AC_CHECK_HEADER([xsec/xenc/XENCEncryptionMethod.hpp],,AC_MSG_ERROR([unable to find xml-security 1.1 header files])) AC_TRY_LINK( [#include ], [XSECPlatformUtils::Initialise()], [AC_DEFINE(HAVE_LIBXSEC,1,[Define if XML-Sec library was found])], - [AC_MSG_ERROR([unable to link with XML-Sec])]) + [AC_MSG_ERROR([unable to link with xml-security])]) # OpenSAML settings AC_ARG_WITH(saml, -- 2.1.4