X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=configure.ac;h=fd1a766750efa5603e2e982d343833086ecdaeb8;hp=7ad9034028e557f70a8323a0bdd6d3293dfe425e;hb=54b7006826fd06e8e2bc251aaba38cccc85b3936;hpb=8d6e223c9b419991da694159e3dd5febf5e62dcc diff --git a/configure.ac b/configure.ac index 7ad9034..fd1a766 100644 --- a/configure.ac +++ b/configure.ac @@ -243,15 +243,10 @@ 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 -#include ], - [#if _XMLTOOLING_VERSION >= 10200 -xmltooling::XMLToolingConfig::getConfig(); -#else -#error Need XMLTooling version 1.2 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])]) + [#include ], + [xmltooling::HTTPResponse::sanitizeURL("http://test")], + [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"