X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=configure.ac;h=e1490f45b82b092c1c3ea43c8e1f56e1c080b492;hp=fa0852d278dd2884e662eac708496687ead11dbe;hb=2b01797b71f857701efcb84bd3669585cb45febb;hpb=881c1063aa321f5720daa17e719cb8d3bba89ad3 diff --git a/configure.ac b/configure.ac index fa0852d..e1490f4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_PREREQ([2.50]) -AC_INIT([opensaml], [2.0.1], [mace-opensaml-users@internet2.edu], [saml]) +AC_INIT([opensaml], [2.1.1], [mace-opensaml-users@internet2.edu], [saml]) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE([opensaml], [2.0.1]) +AM_INIT_AUTOMAKE([opensaml], [2.1.1]) sinclude(doxygen.m4) sinclude(acx_pthread.m4) @@ -234,11 +234,15 @@ AC_ARG_WITH(xmltooling, LIBS="-lxmltooling $LIBS" AC_CHECK_HEADER([xmltooling/XMLToolingConfig.h],,AC_MSG_ERROR([unable to find xmltooling header files])) AC_TRY_LINK( - [#include ], - [xmltooling::XMLToolingConfig::getConfig().init()], - [AC_DEFINE(HAVE_LIBXMLTOOLING,1,[Define if XML-Tooling library was found])], - [AC_MSG_ERROR([unable to link with xmltooling library])] - ) + [#include +#include ], + [#if _XMLTOOLING_VERSION >= 10100 +xmltooling::XMLToolingConfig::getConfig(); +#else +#error Need XMLTooling version 1.1 or higher +#endif], + [AC_DEFINE(HAVE_XMLTOOLING,1,[Define if xmltooling library was found])], + [AC_MSG_ERROR([unable to link with XMLTooling, or version was too old])]) # Check for unit test support CXXTEST="/usr/bin/cxxtestgen.pl"